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_kill.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/os_kill.cpp') diff --git a/modules/commands/os_kill.cpp b/modules/commands/os_kill.cpp index 972092ef9..13092bf64 100644 --- a/modules/commands/os_kill.cpp +++ b/modules/commands/os_kill.cpp @@ -34,7 +34,7 @@ class CommandOSKill : public Command { if (reason.empty()) reason = "No reason specified"; - if (Config->GetBlock("operserv")->Get("addakiller")) + if (Config->GetModule("operserv")->Get("addakiller")) reason = "(" + source.GetNick() + ") " + reason; Log(LOG_ADMIN, source, this) << "on " << u2->nick << " for " << reason; u2->Kill(source.service->nick, reason); -- cgit