diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-09 21:31:50 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-09 21:31:50 +0000 |
commit | ae4c387422251da208c4b5492a9ebe72d524805e (patch) | |
tree | ed0f691b93956230adc3ca1bbac1ba4358274b2a /src/inspsocket.cpp | |
parent | b6a5e2bd143cdd2fc610f79c87729d2e211da7ff (diff) |
Move autoconnect next-server to TreeSocket::cull, and drop autoconnect reference once a connection is complete
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11811 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r-- | src/inspsocket.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 60c69559d..73f469a05 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -441,6 +441,8 @@ BufferedSocket::~BufferedSocket() void StreamSocket::HandleEvent(EventType et, int errornum) { + if (!error.empty()) + return; BufferedSocketError errcode = I_ERR_OTHER; switch (et) { |