From bc0b595b6b9bc6d9fade71117607314cbf54c8c8 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 30 Nov 2005 09:59:44 +0000 Subject: Added remote kill git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2035 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/commands.cpp') 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()) -- cgit v1.2.3