diff options
Diffstat (limited to 'src/modules/m_spanningtree/utils.cpp')
-rw-r--r-- | src/modules/m_spanningtree/utils.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp index ab057570a..e0f2ff601 100644 --- a/src/modules/m_spanningtree/utils.cpp +++ b/src/modules/m_spanningtree/utils.cpp @@ -144,14 +144,13 @@ CullResult SpanningTreeUtilities::cull() { TreeSocket* sock = child_server->GetSocket(); sock->Close(); - ServerInstance->GlobalCulls.AddItem(sock); } } for(std::map<TreeSocket*, std::pair<std::string, int> >::iterator i = timeoutlist.begin(); i != timeoutlist.end(); ++i) { TreeSocket* s = i->first; - ServerInstance->GlobalCulls.AddItem(s); + s->Close(); } TreeRoot->cull(); |