diff options
Diffstat (limited to 'modules/commands/os_kill.cpp')
-rw-r--r-- | modules/commands/os_kill.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<bool>("addakiller")) + if (Config->GetModule("operserv")->Get<bool>("addakiller")) reason = "(" + source.GetNick() + ") " + reason; Log(LOG_ADMIN, source, this) << "on " << u2->nick << " for " << reason; u2->Kill(source.service->nick, reason); |