summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index c0603db59..712e26f5e 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -2913,6 +2913,11 @@ int InspIRCd(char** argv, int argc)
strlcpy(tcp_msg,msg.c_str(),MAXBUF);
if (me[x])
handle_link_packet(tcp_msg, tcp_host, me[x], tcp_sum);
+ if (!me[x]->FindHost(tcp_host))
+ {
+ log(DEBUG,"Connector gone, bailing!");
+ goto label;
+ }
}
sums.clear(); // we're done, clear the list for the next operation
msgs.clear();