From 68c8383ce3df85cd119c29c5a9dfcdf7f16341f8 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 21 Oct 2006 20:38:26 +0000 Subject: 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 --- src/modules/m_spanningtree.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3