summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/netburst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/netburst.cpp')
-rw-r--r--src/modules/m_spanningtree/netburst.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp
index ffc0a7e11..ed2bd0756 100644
--- a/src/modules/m_spanningtree/netburst.cpp
+++ b/src/modules/m_spanningtree/netburst.cpp
@@ -128,7 +128,7 @@ void TreeSocket::DoBurst(TreeServer* s)
void TreeSocket::SendServerInfo(TreeServer* from)
{
// Send public version string
- this->WriteLine(CmdBuilder(from->GetID(), "VERSION").push_last(from->GetVersion()));
+ this->WriteLine(CommandSInfo::Builder(from, "version", from->GetVersion()));
// Send full version string that contains more information and is shown to opers
this->WriteLine(CommandSInfo::Builder(from, "fullversion", from->GetFullVersion()));