diff options
| author | 2004-04-18 22:11:55 +0000 | |
|---|---|---|
| committer | 2004-04-18 22:11:55 +0000 | |
| commit | 2f5a1dcc42c959e65b5322312dd38b1e7fd446ea (patch) | |
| tree | 8436052179e5385e35c11a127efb23fed5e6b51b /src/connection.cpp | |
| parent | Fixes to typos in recovery checking (diff) | |
Fixes to recovery
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@657 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/connection.cpp')
| -rw-r--r-- | src/connection.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
