From 2f5a1dcc42c959e65b5322312dd38b1e7fd446ea Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 18 Apr 2004 22:11:55 +0000 Subject: Fixes to recovery git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@657 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/connection.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/connection.cpp') diff --git a/src/connection.cpp b/src/connection.cpp index c003f9ff7..2ab984332 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -140,6 +140,7 @@ bool ircd_connector::MakeOutboundConnection(char* host, int port) if(connect(this->fd, (sockaddr*)&this->addr,sizeof(this->addr))) { WriteOpers("connect() failed for %s",host); + RemoveServer(this->servername.c_str()); return false; } int flags = fcntl(this->fd, F_GETFL, 0); @@ -153,6 +154,7 @@ bool ircd_connector::MakeOutboundConnection(char* host, int port) else { WriteOpers("socket() failed!"); + RemoveServer(this->servername.c_str()); } return false; -- cgit v1.3.1-10-gc9f91