From afffeb0a1d49c1ac8f06ac9850929a41a52cbc7e Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 5 Dec 2014 17:27:08 -0500 Subject: Update Kill() calls to pass source pointer instead of name --- 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 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("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); } } -- cgit