summaryrefslogtreecommitdiff
path: root/modules/commands/os_chankill.cpp
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-09-23 19:26:23 +0200
committerAdam <Adam@anope.org>2013-09-27 19:11:02 -0400
commit832bc35135cb10c2e95af4085d76bee1c820180e (patch)
tree14f0342d1d08d22d1d72964ad7ec5d355598bd1c /modules/commands/os_chankill.cpp
parent06c5914820cd9a9d483d84113ac60c16dfd3627d (diff)
Fix a few more modules to look in the right places for certain settings.
Diffstat (limited to 'modules/commands/os_chankill.cpp')
-rw-r--r--modules/commands/os_chankill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_chankill.cpp b/modules/commands/os_chankill.cpp
index 8ddd9e3e3..b56f2e734 100644
--- a/modules/commands/os_chankill.cpp
+++ b/modules/commands/os_chankill.cpp
@@ -62,7 +62,7 @@ class CommandOSChanKill : public Command
if (!reason.empty())
{
Anope::string realreason;
- if (Config->GetBlock("operserv")->Get<bool>("addakiller") && !source.GetNick().empty())
+ if (Config->GetModule("operserv")->Get<bool>("addakiller") && !source.GetNick().empty())
realreason = "[" + source.GetNick() + "] " + reason;
else
realreason = reason;