diff options
-rw-r--r-- | src/commands.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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]; + } } |