From 2e0a8b33aeba8d3b79c45f7c53696392499a1ee9 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 14 Jan 2006 15:48:33 +0000 Subject: 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 --- src/modules/m_spanningtree.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/modules') 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; } -- cgit v1.2.3