From 7a566e345cf02dea057b071d56f795e5e2736f80 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 20:58:38 +0000 Subject: Added Server::GetVersion() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2455 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules') 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 */ -- cgit v1.2.3