From b95b8f0aae8b0c836fc00fa8b723ea09b4e52295 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 13 Mar 2013 15:25:29 -0500 Subject: [PATCH] Fix setting BSDefFlags from the config --- data/botserv.example.conf | 2 +- 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 */