diff options
author | Adam <Adam@anope.org> | 2013-03-13 15:25:29 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-03-14 09:03:48 -0500 |
commit | b95b8f0aae8b0c836fc00fa8b723ea09b4e52295 (patch) | |
tree | 954490a6d3a4ba296e629eaf2b1552caacb8e4e7 | |
parent | 1ff7a7c1f1cee2dfe26a0a72026176202e2e4e6a (diff) |
Fix setting BSDefFlags from the config
-rw-r--r-- | data/botserv.example.conf | 2 | ||||
-rw-r--r-- | src/config.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/botserv.example.conf b/data/botserv.example.conf index 9f13850cb..4192b085f 100644 --- a/data/botserv.example.conf +++ b/data/botserv.example.conf @@ -82,7 +82,7 @@ botserv * * This directive is optional, if left blank, there will be no defaults. */ - defaults="greet fantasy" + defaults = "greet fantasy" /* * The minimum number of users there must be in a channel before the bot joins it. The best diff --git a/src/config.cpp b/src/config.cpp index fde9c90ad..1c6b2a0ce 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -96,7 +96,7 @@ ServerConfig::ServerConfig() spacesepstream options(BSDefaults); Anope::string option; while (options.GetToken(option)) - this->BSDefFlags.insert(option.upper()); + this->BSDefFlags.insert("BS_" + option.upper()); } /* Ulines */ |