diff options
author | B00mX0r <b00mx0r@aureus.pw> | 2017-12-19 09:21:14 -0800 |
---|---|---|
committer | B00mX0r <b00mx0r@aureus.pw> | 2017-12-19 10:23:21 -0800 |
commit | 6d4b4f7bf707c8b8270054120e6c7b6f1f2b9834 (patch) | |
tree | 42bd0a4b2da062eb60eb6cb406a9c601e284269c /src/modules/m_spanningtree/sinfo.cpp | |
parent | 5f40dce0345e9fa39b3e00c34d550ea6cd202e8e (diff) |
Show server versions in /MAP for opers
This resolves #1203
Diffstat (limited to 'src/modules/m_spanningtree/sinfo.cpp')
-rw-r--r-- | src/modules/m_spanningtree/sinfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/sinfo.cpp b/src/modules/m_spanningtree/sinfo.cpp index 0989ea9a5..7f175bafb 100644 --- a/src/modules/m_spanningtree/sinfo.cpp +++ b/src/modules/m_spanningtree/sinfo.cpp @@ -34,6 +34,10 @@ CmdResult CommandSInfo::HandleServer(TreeServer* server, std::vector<std::string { server->SetVersion(value); } + else if (key == "rawversion") + { + server->SetRawVersion(value); + } else if (key == "desc") { // Only sent when the description of a server changes because of a rehash; not sent on burst |