From c1e564e231bac52d48a537bf95be70a22aa67fd6 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 23 Apr 2004 13:29:10 +0000 Subject: Added svsjoin ability git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@706 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 553f2db58..05ce233e6 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -2272,6 +2272,17 @@ 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,"SVSJOIN")) + { + snprintf(udp_msg,MAXBUF,"J %s %s",source,data); + log(DEBUG,"Rewrote SVSJOIN from services to: '%s'",udp_msg); + userrec* u = Find(source); + if (u) + { + add_channel(user,data,"",true); + } + token = udp_msg[0]; + } } -- cgit v1.2.3