summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-26 14:15:32 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-26 14:15:32 +0000
commit30b27470a384b1eec0cfe2601395441eb88bc2a9 (patch)
treebd02d5cdbc6474c5c122e238cf60351ae6c90d46 /src/commands.cpp
parent32c49435b2f6408984debc7665c502ec317e0cd0 (diff)
Added support for services KILL
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@736 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index bf80f7e75..a9bf10699 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -2476,6 +2476,12 @@ void handle_link_packet(char* udp_msg, char* tcp_host, serverrec *serv)
log(DEBUG,"Rewrote KICK from services to: '%s'",udp_msg);
token = udp_msg[0];
}
+ if (!strcmp(command,"KILL"))
+ {
+ snprintf(udp_msg,MAXBUF,"K %s %s",source,data);
+ log(DEBUG,"Rewrote KILL from services to: '%s'",udp_msg);
+ token = udp_msg[0];
+ }
if (!strcmp(command,"SVSJOIN"))
{
snprintf(udp_msg,MAXBUF,"J %s",data);