summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/botserv.example.conf2
-rw-r--r--src/config.cpp2
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 */