diff options
Diffstat (limited to 'src/cmd_kill.cpp')
-rw-r--r-- | src/cmd_kill.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd_kill.cpp b/src/cmd_kill.cpp index ac3f3686d..f90347e95 100644 --- a/src/cmd_kill.cpp +++ b/src/cmd_kill.cpp @@ -52,18 +52,18 @@ void cmd_kill::Handle (char **parameters, int pcnt, userrec *user) char killreason[MAXBUF]; int MOD_RESULT = 0; - log(DEBUG,"kill: %s %s", parameters[0], parameters[1]); + log(DEBUG,"kill: %s %s", parameters[0], parameters[1]); if (u) { log(DEBUG, "into kill mechanism"); - FOREACH_RESULT(I_OnKill, OnKill(user, u, parameters[1])); + FOREACH_RESULT(I_OnKill, OnKill(user, u, parameters[1])); - if (MOD_RESULT) + if (MOD_RESULT) { log(DEBUG, "A module prevented the kill with result %d", MOD_RESULT); - return; - } + return; + } if (!IS_LOCAL(u)) { |