diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-30 09:59:44 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-30 09:59:44 +0000 |
commit | bc0b595b6b9bc6d9fade71117607314cbf54c8c8 (patch) | |
tree | 002d0f486d5d8a97cc04b99f0586c6ccceb0a152 /src/commands.cpp | |
parent | ce0213e10f1c5125a5d1af906136110cdf08c056 (diff) |
Added remote kill
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2035 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index e6896e3a7..321e6bc3c 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -332,6 +332,8 @@ void handle_kill(char **parameters, int pcnt, userrec *user) WriteOpers("*** Remote kill by %s: %s!%s@%s (%s)",user->nick,u->nick,u->ident,u->host,parameters[1]); snprintf(killreason,MAXBUF,"[%s] Killed (%s (%s))",ServerName,user->nick,parameters[1]); WriteCommonExcept(u,"QUIT :%s",killreason); + + FOREACH_MOD OnRemoteKill(user,u,killreason); user_hash::iterator iter = clientlist.find(u->nick); if (iter != clientlist.end()) |