summaryrefslogtreecommitdiff
path: root/src/cmd_kill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_kill.cpp')
-rw-r--r--src/cmd_kill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_kill.cpp b/src/cmd_kill.cpp
index f2728e72e..44ea42277 100644
--- a/src/cmd_kill.cpp
+++ b/src/cmd_kill.cpp
@@ -54,7 +54,7 @@ void cmd_kill::Handle (const char** parameters, int pcnt, userrec *user)
// remote kill
WriteOpers("*** Remote kill by %s: %s!%s@%s (%s)", user->nick, u->nick, u->ident, u->host, parameters[1]);
snprintf(killreason, MAXQUIT,"[%s] Killed (%s (%s))", Config->ServerName, user->nick, parameters[1]);
- WriteCommonExcept(u, "QUIT :%s", killreason);
+ u->WriteCommonExcept("QUIT :%s", killreason);
FOREACH_MOD(I_OnRemoteKill, OnRemoteKill(user, u, killreason));
user_hash::iterator iter = clientlist.find(u->nick);