diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-14 15:48:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-14 15:48:33 +0000 |
commit | 2e0a8b33aeba8d3b79c45f7c53696392499a1ee9 (patch) | |
tree | f082cdfb5863ced9e3148b325ccadccbcc2fb4c3 /src | |
parent | 2a81a5a0026396e7c476f648a25016443e002d85 (diff) |
Fixed 'stops responding after server pingout, while using select' but as found by merwin -- this needs testing in epoll
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2788 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 35f63790b..8071f8828 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2593,7 +2593,6 @@ class ModuleSpanningTree : public Module log(DEBUG,"Splitting server %s",s->GetName().c_str()); WriteOpers("*** SQUIT: Server \002%s\002 removed from network by %s",parameters[0],user->nick); sock->Squit(s,"Server quit by "+std::string(user->nick)+"!"+std::string(user->ident)+"@"+std::string(user->host)); - sock->Close(); Srv->RemoveSocket(sock); } else @@ -2650,7 +2649,6 @@ class ModuleSpanningTree : public Module // they didnt answer, boot them WriteOpers("*** Server \002%s\002 pinged out",serv->GetName().c_str()); sock->Squit(serv,"Ping timeout"); - sock->Close(); Srv->RemoveSocket(sock); return; } |