aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/treeserver.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-05-17 18:12:32 +0100
committerGravatar Sadie Powell2022-05-17 18:28:16 +0100
commit3be039e33254f32a27e8c790440997db15ec2db8 (patch)
tree959f3eab7a86af85bacf22e5ad5006dbd29a7bb5 /src/modules/m_spanningtree/treeserver.cpp
parentSplit the httpd_stats <version> field out into multiple fields. (diff)
Get rid of GetVersionString.
TODO: split fullversion/version into individual fields.
Diffstat (limited to 'src/modules/m_spanningtree/treeserver.cpp')
-rw-r--r--src/modules/m_spanningtree/treeserver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp
index 34493716c..4c65fa608 100644
--- a/src/modules/m_spanningtree/treeserver.cpp
+++ b/src/modules/m_spanningtree/treeserver.cpp
@@ -38,8 +38,8 @@
TreeServer::TreeServer()
: Server(ServerInstance->Config->GetSID(), ServerInstance->Config->ServerName, ServerInstance->Config->ServerDesc)
, Parent(NULL), Route(NULL)
- , VersionString(ServerInstance->GetVersionString())
- , fullversion(ServerInstance->GetVersionString(true))
+ , VersionString(INSPIRCD_BRANCH ". " + ServerInstance->Config->GetServerName() + " :" + ServerInstance->Config->CustomVersion)
+ , fullversion(INSPIRCD_VERSION ". " + ServerInstance->Config->ServerName + " :[" + ServerInstance->Config->GetSID() + "] " + ServerInstance->Config->CustomVersion)
, rawversion(INSPIRCD_VERSION)
, Socket(NULL)
, behind_bursting(0)