summaryrefslogtreecommitdiff
path: root/modules/chanserv/main
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-10-09 22:04:32 -0400
committerAdam <Adam@anope.org>2016-10-09 22:04:32 -0400
commitd22b68b7f747578477163c307f6af3914f05f43e (patch)
tree0335f243372c4917b82d40b2634a7799e2a9413a /modules/chanserv/main
parentcfbbcf32164c6011c80d2a3eed78f1db48c9903b (diff)
Adjust reading chanserv core config opts
Diffstat (limited to 'modules/chanserv/main')
-rw-r--r--modules/chanserv/main/chanserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/main/chanserv.cpp b/modules/chanserv/main/chanserv.cpp
index f53f6301b..47174eb26 100644
--- a/modules/chanserv/main/chanserv.cpp
+++ b/modules/chanserv/main/chanserv.cpp
@@ -525,7 +525,7 @@ class ChanServCore : public Module
if (ci->c->FindUser(ci->GetBot()) == NULL)
{
Anope::string botmodes = Config->GetModule("botserv")->Get<Anope::string>("botmodes",
- Config->GetModule("chanserv")->Get<Anope::string>("botmodes"));
+ Config->GetModule("chanserv/main")->Get<Anope::string>("botmodes"));
ChannelStatus status(botmodes);
ci->GetBot()->Join(ci->c, &status);
}