From c3c61c00b34290ff04ffdecad0d1f083a8c25c39 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 12 Dec 2005 13:11:24 +0000 Subject: Fixed outbounds git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2337 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3