diff options
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 1ef31221e..1476b81b7 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -173,7 +173,7 @@ class TreeServer ServerDesc = ""; VersionString = ""; UserCount = OperCount = 0; - VersionString = GetVersionString(); + VersionString = Srv->GetVersion(); } /* We use this constructor only to create the 'root' item, TreeRoot, which @@ -185,7 +185,7 @@ class TreeServer Parent = NULL; VersionString = ""; UserCount = OperCount = 0; - VersionString = GetVersionString(); + VersionString = Srv->GetVersion(); Route = NULL; AddHashEntry(); } @@ -1099,7 +1099,7 @@ class TreeSocket : public InspSocket Srv->SendOpers("*** Bursting to \2"+s->GetName()+"\2."); this->WriteLine("BURST"); /* send our version string */ - this->WriteLine(":"+Srv->GetServerName()+" VERSION :"+GetVersionString()); + this->WriteLine(":"+Srv->GetServerName()+" VERSION :"+Srv->GetVersion()); /* Send server tree */ this->SendServers(TreeRoot,s,1); /* Send users and their oper status */ |