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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_kill.cpp b/src/cmd_kill.cpp
index ae327166d..49f05d6c2 100644
--- a/src/cmd_kill.cpp
+++ b/src/cmd_kill.cpp
@@ -49,8 +49,8 @@ CmdResult cmd_kill::Handle (const char** parameters, int pcnt, userrec *user)
snprintf(killreason, MAXQUIT,"[%s] Killed (%s (%s))", ServerInstance->Config->ServerName, user->nick, parameters[1]);
u->WriteCommonExcept("QUIT :%s", killreason);
FOREACH_MOD(I_OnRemoteKill, OnRemoteKill(user, u, killreason));
-
- userrec::QuitUser(ServerInstance, u, parameters[1]);
+
+ userrec::QuitUser(ServerInstance, u, killreason);
}
else
{