summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-12-07 10:11:09 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-12-07 10:11:09 +0100
commit6bc4db5e922dd49a46684c9b4e417cac36a71942 (patch)
tree985e110a44a6b504589c0fadbc69b8dd494e5b93 /src/modules/m_spanningtree
parent5b138fa099e1c1557362fe72a4b146a0750dde9c (diff)
Do not insert FakeUsers into UserManager::uuidlist
Inserting them causes FindUUID() and FindNick() to return server users which is not what modules want
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/treeserver.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp
index 0750e755c..48f16c9df 100644
--- a/src/modules/m_spanningtree/treeserver.cpp
+++ b/src/modules/m_spanningtree/treeserver.cpp
@@ -285,10 +285,6 @@ TreeServer::~TreeServer()
void TreeServer::RemoveHash()
{
- // XXX: Erase server from UserManager::uuidlist now, to allow sid reuse in the current main loop
- // iteration, before the cull list is applied
- ServerInstance->Users->uuidlist.erase(sid);
-
Utils->sidlist.erase(sid);
Utils->serverlist.erase(GetName());
}