diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-13 13:42:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-13 13:42:19 +0000 |
commit | 3503fd00f2396454fe6676a3f57c323a4eaefb75 (patch) | |
tree | c3096972abfd2b2396e39c44d5d77867470aef8c /src/commands.cpp | |
parent | 654ff4ae2f06704de2beb1050021c8196f693cb5 (diff) |
Updated to support OnSendList
Fixed to allow server to server traffic again (DOH)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1074 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 94635e609..dc757c803 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -2759,6 +2759,10 @@ void handle_link_packet(char* udp_msg, char* tcp_host, serverrec *serv) { token = '*'; } + if (!strcmp(command,"PING")) + { + token = '*'; + } if (!strcmp(command,"NOTICE")) { snprintf(udp_msg,MAXBUF,"V %s %s",source,data); @@ -3060,6 +3064,8 @@ void handle_link_packet(char* udp_msg, char* tcp_host, serverrec *serv) char Link_Pass[1024]; char Link_SendPass[1024]; int LinkPort = 0; + + log(DEBUG,"U-token linked server detected."); // search for a corresponding <link> block in the config files for (int i = 0; i < ConfValueEnum("link",&config_f); i++) |