summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-04 18:06:20 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-04 18:06:20 +0000
commit32790543e1e5050e1d2c4c71e9465c2f065c700c (patch)
tree3731bf41a4f49938752d2d527249b15791a0f6d8 /src/modules
parent66e41aba0f60485271117a96141095a2e7c30435 (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/treesocket2.cpp3
1 files changed, 2 insertions, 1 deletions
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.