summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-02-04 18:53:28 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-02-04 18:53:28 +0100
commitf6ace5e8084e2ab23f6797ab9d77a41466ea4a78 (patch)
treebbff30848714929d6ac82a785f0e79364cdac4bc /src/modules
parent1c81963c73a52b9b1dc6ee422edbc5657746145b (diff)
m_spanningtree Fix TreeRoot UserCount being possibly wrong if loaded after startup
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 5f06cad58..967b577b1 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -88,7 +88,7 @@ void ModuleSpanningTree::init()
loopCall = false;
// update our local user count
- Utils->TreeRoot->SetUserCount(ServerInstance->Users->local_users.size());
+ Utils->TreeRoot->SetUserCount(ServerInstance->Users->LocalUserCount());
}
void ModuleSpanningTree::ShowLinks(TreeServer* Current, User* user, int hops)