diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-02-04 18:53:28 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-02-04 18:53:28 +0100 |
commit | f6ace5e8084e2ab23f6797ab9d77a41466ea4a78 (patch) | |
tree | bbff30848714929d6ac82a785f0e79364cdac4bc /src/modules/m_spanningtree | |
parent | 1c81963c73a52b9b1dc6ee422edbc5657746145b (diff) |
m_spanningtree Fix TreeRoot UserCount being possibly wrong if loaded after startup
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
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) |