diff --git a/src/client/data/config.rs b/src/client/data/config.rs index 86fc443..c1b6709 100644 --- a/src/client/data/config.rs +++ b/src/client/data/config.rs @@ -8,7 +8,7 @@ use std::path::Path; use rustc_serialize::json::decode; /// Configuration data. -#[derive(Clone, RustcDecodable, Default, PartialEq, Debug)] +#[derive(Clone, RustcDecodable, RustcEncodable, Default, PartialEq, Debug)] pub struct Config { /// A list of the owners of the bot by nickname. pub owners: Option>,