summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index e9a6bc1ae..9b410b95e 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -7179,9 +7179,8 @@ void handle_link_packet(char* udp_msg, char* udp_host, serverrec *serv)
if (token == 'E') {
char* error_message = finalparam+2;
WriteOpers("ERROR from %s: %s",udp_host,error_message);
- RemoveServer(udp_host);
- RemoveServer(servername);
// remove this server from any lists
+ RemoveServer(udp_host);
return;
}
else {