diff --git a/src/config.cpp b/src/config.cpp index 986a00fa58a1e0eea89794781988daa38fc3e720..7de3bb0ce34db6667a17dbca3f15ae17c7f3144f 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -104,6 +104,7 @@ bool Config::load(std::istream &ifs, boost::program_options::options_description ("registration.instructions", value()->default_value("Enter your legacy network username and password."), "Instructions showed to user in registration form") ("registration.username_label", value()->default_value("Legacy network username:"), "Label for username field") ("registration.username_mask", value()->default_value(""), "Username mask") + ("registration.allowed_usernames", value()->default_value(""), "Allowed usernames") ("registration.auto_register", value()->default_value(false), "Register new user automatically when the presence arrives.") ("registration.encoding", value()->default_value("utf8"), "Default encoding in registration form") ("registration.require_local_account", value()->default_value(false), "True if users have to have a local account to register to this transport from remote servers.") @@ -125,6 +126,14 @@ bool Config::load(std::istream &ifs, boost::program_options::options_description ("backend.default_avatar", value()->default_value(""), "Full path to default avatar") ("backend.avatars_directory", value()->default_value(""), "Path to directory with avatars") ("backend.no_vcard_fetch", value()->default_value(false), "True if VCards for buddies should not be fetched. Only avatars will be forwarded.") + ("twitter.consumer_key", value()->default_value(""), "Twitter APP Consumer Key.") + ("twitter.consumer_secret", value()->default_value(""), "Twitter APP Consumer Secret") + ("twitter.mode", value()->default_value(0), "Twitter mode") + ("proxy.server", value()->default_value("localhost"), "Proxy IP.") + ("proxy.user", value()->default_value(""), "Proxy user.") + ("proxy.password", value()->default_value(""), "Proxy Password.") + ("proxy.port", value()->default_value(0), "Proxy port.") + ; // Load configs passed by command line