summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-14 15:03:48 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-14 15:03:48 +0200
commit978233e0074a3ff2ed7a33141ea3607314dbf81a (patch)
tree1d3b71b87da00a55424623cd80ce29f6afa34745 /src/modules/m_spanningtree/main.cpp
parentc35089b8cfd108ccfb85077f74236e704ba7cf55 (diff)
m_spanningtree Initialize TreeServer::UserCount for TreeRoot in its constructor
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r--src/modules/m_spanningtree/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 2ab05e014..5f07cb065 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -93,9 +93,6 @@ void ModuleSpanningTree::init()
loopCall = false;
SplitInProgress = false;
-
- // update our local user count
- Utils->TreeRoot->UserCount = ServerInstance->Users->local_users.size();
}
void ModuleSpanningTree::ShowLinks(TreeServer* Current, User* user, int hops)