diff options
| author | Adam <Adam@anope.org> | 2016-10-09 22:04:32 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2016-10-09 22:04:32 -0400 |
| commit | d22b68b7f747578477163c307f6af3914f05f43e (patch) | |
| tree | 0335f243372c4917b82d40b2634a7799e2a9413a /modules/chanserv/main | |
| parent | cfbbcf32164c6011c80d2a3eed78f1db48c9903b (diff) | |
Adjust reading chanserv core config opts
Diffstat (limited to 'modules/chanserv/main')
| -rw-r--r-- | modules/chanserv/main/chanserv.cpp | 2 |
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); } |
