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 23d78d459..718ccebde 100644 --- a/modules/commands/os_kill.cpp +++ b/modules/commands/os_kill.cpp @@ -37,7 +37,7 @@ class CommandOSKill : public Command 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); + u2->Kill(*source.service, reason); } } |