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/kick.cpp | |
| parent | cfbbcf32164c6011c80d2a3eed78f1db48c9903b (diff) | |
Adjust reading chanserv core config opts
Diffstat (limited to 'modules/chanserv/kick.cpp')
| -rw-r--r-- | modules/chanserv/kick.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/chanserv/kick.cpp b/modules/chanserv/kick.cpp index b78357d3e..0fd8979d4 100644 --- a/modules/chanserv/kick.cpp +++ b/modules/chanserv/kick.cpp @@ -52,13 +52,13 @@ class CommandCSKick : public Command return; } - unsigned reasonmax = Config->GetModule("chanserv")->Get<unsigned>("reasonmax", "200"); + unsigned reasonmax = Config->GetModule("chanserv/main")->Get<unsigned>("reasonmax", "200"); if (reason.length() > reasonmax) reason = reason.substr(0, reasonmax); ChanServ::AccessGroup u_access = source.AccessFor(ci); - Anope::string signkickformat = Config->GetModule("chanserv")->Get<Anope::string>("signkickformat", "%m (%n)"); + Anope::string signkickformat = Config->GetModule("chanserv/main")->Get<Anope::string>("signkickformat", "%m (%n)"); signkickformat = signkickformat.replace_all_cs("%n", source.GetNick()); if (!u_access.HasPriv("KICK") && !source.HasPriv("chanserv/kick")) |
