aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/netburst.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2017-12-19 18:41:55 +0000
committerGravatar GitHub2017-12-19 18:41:55 +0000
commit4f3aaaef9f8b111452ffa4498aaefeae3fcb6675 (patch)
treed2f9c363afd6de96d564ee6d59205c5ec9b238cd /src/modules/m_spanningtree/netburst.cpp
parentUse GetMaxMask in InspIRCd::IsValidMask instead of hardcoding 250. (diff)
parentShow server versions in /MAP for opers (diff)
downloadinspircd++-4f3aaaef9f8b111452ffa4498aaefeae3fcb6675.tar.gz
inspircd++-4f3aaaef9f8b111452ffa4498aaefeae3fcb6675.tar.bz2
inspircd++-4f3aaaef9f8b111452ffa4498aaefeae3fcb6675.zip
Merge pull request #1442 from B00mX0r/master+map_version
Show server versions in /MAP for opers
Diffstat (limited to 'src/modules/m_spanningtree/netburst.cpp')
-rw-r--r--src/modules/m_spanningtree/netburst.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp
index 5115c7aa8..30a37baee 100644
--- a/src/modules/m_spanningtree/netburst.cpp
+++ b/src/modules/m_spanningtree/netburst.cpp
@@ -137,6 +137,9 @@ void TreeSocket::SendServerInfo(TreeServer* from)
// Send full version string that contains more information and is shown to opers
this->WriteLine(CommandSInfo::Builder(from, "fullversion", from->GetFullVersion()));
+
+ // Send the raw version string that just contains the base info
+ this->WriteLine(CommandSInfo::Builder(from, "rawversion", from->GetRawVersion()));
}
/** Recursively send the server tree.