From 998eba1a63ab1907b371cf7ed0e0583137064c19 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Apr 2004 18:11:47 +0000 Subject: TCP Link fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@574 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 5b37cccc4..a4022ef3f 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -6736,13 +6736,9 @@ void handle_link_packet(char* udp_msg, char* udp_host, serverrec *serv) // we have a matching link line - // send a 'diminutive' server message back... snprintf(response,10240,"s %s %s :%s",ServerName,Link_SendPass,ServerDesc); - serv->SendPacket(response,udp_host); - WriteOpers("Internal error connecting to %s, failed to create server record!",servername); + serv->SendPacket(response,servername); return; } - else { - log(DEBUG,"Server names '%s' and '%s' don't match",Link_ServerName,servername); - } } serv->SendPacket("E :Access is denied (no matching link block)",udp_host); WriteOpers("CONNECT from %s denied, no matching link block",servername); -- cgit v1.2.3