From 832bc35135cb10c2e95af4085d76bee1c820180e Mon Sep 17 00:00:00 2001 From: Robby- Date: Mon, 23 Sep 2013 19:26:23 +0200 Subject: Fix a few more modules to look in the right places for certain settings. --- modules/commands/os_chankill.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/os_chankill.cpp') 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("addakiller") && !source.GetNick().empty()) + if (Config->GetModule("operserv")->Get("addakiller") && !source.GetNick().empty()) realreason = "[" + source.GetNick() + "] " + reason; else realreason = reason; -- cgit