summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-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);