mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Fixed outbounds
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2337 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
2554ac4d3f
commit
c3c61c00b3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user