From 32790543e1e5050e1d2c4c71e9465c2f065c700c Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 4 Jan 2008 18:06:20 +0000 Subject: Forward port r8629: Fix for bug #458 - servers going missing on collision etc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8630 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index 926448ad7..f03aff9af 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -1641,7 +1641,8 @@ void TreeSocket::OnTimeout() void TreeSocket::OnClose() { - if (this->LinkState == LISTENER) + // Test fix for big fuckup + if (this->LinkState != CONNECTED) return; // Connection closed. -- cgit v1.2.3