summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-18 18:06:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-18 18:06:38 +0000
commit178e92cc0b4234174309a45f9967667aea380f0a (patch)
treea353af2df266a4b8dbd4adf60c37a1173f15a33f /src
parent6bb948ae948778077df154ac5c3e8ec9e91e031b (diff)
Fixed broken server/server handshake for U-type server links (services)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1121 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/commands.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 79f1f7c78..266847337 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -3166,6 +3166,8 @@ void handle_link_packet(char* udp_msg, char* tcp_host, serverrec *serv)
me[j]->connectors[k].SetState(STATE_SERVICES);
sprintf(buffer,"X 0");
serv->SendPacket(buffer,servername);
+ sprintf(buffer,"s %s %s %lu :%s",ServerName,Link_SendPass,LinkPort,ServerDesc);
+ serv->SendPacket(buffer,servername);
DoSync(me[j],servername);
snprintf(buffer,MAXBUF,"H %s",servername);
NetSendToAllExcept(servername,buffer);