summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-14 18:11:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-14 18:11:47 +0000
commit998eba1a63ab1907b371cf7ed0e0583137064c19 (patch)
tree9c5c5a3490b5bd673d9b304723ddcc24ec44289c /src
parent296df45059c076a982399dde899530f967de27fd (diff)
TCP Link fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@574 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp6
1 files changed, 1 insertions, 5 deletions
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);