summaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-12 13:11:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-12 13:11:24 +0000
commitc3c61c00b34290ff04ffdecad0d1f083a8c25c39 (patch)
tree3986f700c3f916834368cc479617f538aee6eb89 /src/socket.cpp
parent2554ac4d3fb9cc87f2f53acdf1b2d8bbfe9cd70b (diff)
Fixed outbounds
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2337 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index f441ddb55..4e8c88663 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -215,12 +215,12 @@ bool InspSocket::Poll()
{
case I_CONNECTING:
this->SetState(I_CONNECTED);
- return this->OnConnected();
/* Our socket was in write-state, so delete it and re-add it
* in read-state.
*/
SE->DelFd(this->fd);
SE->AddFd(this->fd,true,X_ESTAB_MODULE);
+ return this->OnConnected();
break;
case I_LISTENING:
length = sizeof (client);