summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index a9315199a..88798f478 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1451,7 +1451,7 @@ class ModuleSpanningTree : public Module
void CountServsRecursive(TreeServer* Current)
{
- NumServs++;
+ NumServers++;
for (unsigned int q = 0; q < Current->ChildCount(); q++)
{
CountServsRecursive(Current->GetChild(q));
@@ -1460,9 +1460,9 @@ class ModuleSpanningTree : public Module
int CountServs()
{
- NumServs = 0;
+ NumServers = 0;
CountServsRecursive(TreeRoot);
- return NumServs;
+ return NumServers;
}
void HandleLinks(char** parameters, int pcnt, userrec* user)