diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-26 14:15:32 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-26 14:15:32 +0000 |
commit | 30b27470a384b1eec0cfe2601395441eb88bc2a9 (patch) | |
tree | bd02d5cdbc6474c5c122e238cf60351ae6c90d46 /src | |
parent | 32c49435b2f6408984debc7665c502ec317e0cd0 (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')
-rw-r--r-- | src/InspIRCd.layout | 18 | ||||
-rw-r--r-- | src/commands.cpp | 6 |
2 files changed, 15 insertions, 9 deletions
diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout index daec29109..0fe70ebfa 100644 --- a/src/InspIRCd.layout +++ b/src/InspIRCd.layout @@ -1,5 +1,5 @@ [Editors] -Focused=46 +Focused=43 Order=2,4,6,3,7,25,5,24,39,42,43,-1,1,46,0 [Editor_0] @@ -329,10 +329,10 @@ TopLine=618 LeftChar=1 [Editor_43] Open=1 -Top=0 -CursorCol=14 -CursorRow=1447 -TopLine=1420 +Top=1 +CursorCol=27 +CursorRow=2482 +TopLine=2441 LeftChar=1 [Editor_44] Open=1 @@ -350,8 +350,8 @@ TopLine=77 LeftChar=1 [Editor_46] Open=1 -Top=1 -CursorCol=2 -CursorRow=591 -TopLine=548 +Top=0 +CursorCol=5 +CursorRow=553 +TopLine=549 LeftChar=1 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); |