diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/botserv/kick.cpp | 2 | ||||
| -rw-r--r-- | modules/chanserv/main/chanserv.cpp | 2 | ||||
| -rw-r--r-- | modules/chanserv/set.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/botserv/kick.cpp b/modules/botserv/kick.cpp index 3d56ddd21..1b9d67fc7 100644 --- a/modules/botserv/kick.cpp +++ b/modules/botserv/kick.cpp @@ -1605,7 +1605,7 @@ class BSKick : public Module /* Normalize the buffer */ Anope::string nbuf = Anope::NormalizeBuffer(realbuf); - bool casesensitive = Config->GetModule("botserv")->Get<bool>("casesensitive"); + bool casesensitive = Config->GetModule("botserv/main")->Get<bool>("casesensitive"); /* Normalize can return an empty string if this only conains control codes etc */ if (badwords && !nbuf.empty()) diff --git a/modules/chanserv/main/chanserv.cpp b/modules/chanserv/main/chanserv.cpp index 47174eb26..ec2e8a623 100644 --- a/modules/chanserv/main/chanserv.cpp +++ b/modules/chanserv/main/chanserv.cpp @@ -524,7 +524,7 @@ class ChanServCore : public Module ci->WhoSends()->Assign(NULL, ci); if (ci->c->FindUser(ci->GetBot()) == NULL) { - Anope::string botmodes = Config->GetModule("botserv")->Get<Anope::string>("botmodes", + Anope::string botmodes = Config->GetModule("botserv/main")->Get<Anope::string>("botmodes", Config->GetModule("chanserv/main")->Get<Anope::string>("botmodes")); ChannelStatus status(botmodes); ci->GetBot()->Join(ci->c, &status); diff --git a/modules/chanserv/set.cpp b/modules/chanserv/set.cpp index 6c2d48e79..27ad49fa6 100644 --- a/modules/chanserv/set.cpp +++ b/modules/chanserv/set.cpp @@ -467,7 +467,7 @@ class CommandCSSetPeace : public Command inline static Anope::string BotModes() { - return Config->GetModule("botserv")->Get<Anope::string>("botmodes", + return Config->GetModule("botserv/main")->Get<Anope::string>("botmodes", Config->GetModule("chanserv/main")->Get<Anope::string>("botmodes", "o") ); } |
