summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/netburst.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-17 13:36:10 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-17 13:36:10 +0200
commit92bc6a513b12fd2b4425aac6c93ccb82c15d611f (patch)
treeda58da03bd04f770c80b081196de22227e2e1661 /src/modules/m_spanningtree/netburst.cpp
parent18c918cc88b9f6fc85734392c33776bbb4f22dac (diff)
m_spanningtree Exchange public server version strings via SINFO instead of VERSION
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()));