summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index d8ebefdf5..f5640e5be 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -317,7 +317,6 @@ bool ircd_connector::MakeOutboundConnection(char* newhost, int newport)
if (errno != EINPROGRESS)
{
WriteOpers("connect() failed for %s",host);
- RemoveServer(this->servername.c_str());
return false;
}
}
@@ -330,7 +329,6 @@ bool ircd_connector::MakeOutboundConnection(char* newhost, int newport)
else
{
WriteOpers("socket() failed!");
- RemoveServer(this->servername.c_str());
}
return false;