diff options
Diffstat (limited to 'modules/chanserv')
| -rw-r--r-- | modules/chanserv/main/chanserv.cpp | 2 | ||||
| -rw-r--r-- | modules/chanserv/set.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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") ); } |
