From e93cdf5a66ef90b0b0ea64c80c7e4eebdecb55c9 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 11 Jul 2007 16:59:10 +0000 Subject: Fix for bug #347. WARNING: QA PEOPLE, THIS NEEDS TESTING!!!! Test this with lots of squits and connects, and i mean lots and lots in all different ways you can think of, /squit, pingout, closing the connection with a firewall etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7434 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/rsquit.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/modules/m_spanningtree/rsquit.cpp') diff --git a/src/modules/m_spanningtree/rsquit.cpp b/src/modules/m_spanningtree/rsquit.cpp index aa4f924be..5f3d33fc0 100644 --- a/src/modules/m_spanningtree/rsquit.cpp +++ b/src/modules/m_spanningtree/rsquit.cpp @@ -99,7 +99,6 @@ CmdResult cmd_rsquit::Handle (const char** parameters, int pcnt, userrec *user) sock->Squit(s,std::string("Server quit by ") + user->GetFullRealHost()); ServerInstance->SE->DelFd(sock); sock->Close(); - delete sock; return CMD_LOCALONLY; } } -- cgit v1.3.1-10-gc9f91