summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket1.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-11 16:07:52 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-11 16:07:52 +0000
commit7f0a9608c895bf437f746cbca16d9fbad158b782 (patch)
tree42b5715cbdff5b5c8ca865bc90d5e0c02a9b5d2e /src/modules/m_spanningtree/treesocket1.cpp
parent62a145ce248b386f6412108ad1b60a2c5bed46c1 (diff)
Restart server_hash iteration after quitting dead and pinged out servers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12435 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/treesocket1.cpp')
-rw-r--r--src/modules/m_spanningtree/treesocket1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp
index ea87c615f..5efa58f3b 100644
--- a/src/modules/m_spanningtree/treesocket1.cpp
+++ b/src/modules/m_spanningtree/treesocket1.cpp
@@ -137,7 +137,7 @@ void TreeSocket::OnError(BufferedSocketError e)
{
ServerInstance->SNO->WriteGlobalSno('l', "Connection to \002%s\002 failed with error: %s",
myhost.c_str(), getError().c_str());
- ServerInstance->GlobalCulls.AddItem(this);
+ LinkState = DYING;
}
void TreeSocket::SendError(const std::string &errormessage)