summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-21 20:38:26 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-21 20:38:26 +0000
commit68c8383ce3df85cd119c29c5a9dfcdf7f16341f8 (patch)
treea25f70fa6a9eb67c630fb2a0ec23116a9932b299
parent6eed6994058c437d57e79b966216578bb127e831 (diff)
Fix counts on spanningtree reload (this made /map look really odd)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5510 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index c248acc20..155ad7099 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -247,7 +247,8 @@ class TreeServer : public classbase
{
Parent = NULL;
VersionString = "";
- UserCount = OperCount = 0;
+ UserCount = ServerInstance->UserCount();
+ OperCount = ServerInstance->OperCount();
VersionString = ServerInstance->GetVersionString();
Route = NULL;
Socket = NULL; /* Fix by brain */