diff options
Diffstat (limited to 'src/cmd_kill.cpp')
-rw-r--r-- | src/cmd_kill.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd_kill.cpp b/src/cmd_kill.cpp index 4d1a6d4ff..6f42c1b38 100644 --- a/src/cmd_kill.cpp +++ b/src/cmd_kill.cpp @@ -68,7 +68,8 @@ CmdResult cmd_kill::Handle (const char** parameters, int pcnt, userrec *user) if (u == user) { - FOREACH_MOD(I_OnPostCommand,OnPostCommand("KILL", parameters, pcnt, user, CMD_SUCCESS)); + std::string original_command = std::string("KILL ") + u->nick + " :"+parameters[1]; + FOREACH_MOD(I_OnPostCommand,OnPostCommand("KILL", parameters, pcnt, user, CMD_SUCCESS,original_command)); return CMD_USER_DELETED; } DELETE(u); |