diff options
| author | 2024-08-24 16:26:58 +0100 | |
|---|---|---|
| committer | 2024-08-24 16:26:58 +0100 | |
| commit | cf01291da809290781aa2c5ae657bf86d87ac5e7 (patch) | |
| tree | 809b5e3326b4c31b458180729d504046779abd47 /src/modules/m_spanningtree/netburst.cpp | |
| parent | Close loggers and notify opers if they throw any exceptions. (diff) | |
Fix broadcasting server information to remote v3 servers.
Diffstat (limited to 'src/modules/m_spanningtree/netburst.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/netburst.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp index 48ce55176..f1b622853 100644 --- a/src/modules/m_spanningtree/netburst.cpp +++ b/src/modules/m_spanningtree/netburst.cpp @@ -119,15 +119,6 @@ void TreeSocket::SendServerInfo(TreeServer* from) this->WriteLine(CommandSInfo::Builder(from, "customversion", from->customversion)); this->WriteLine(CommandSInfo::Builder(from, "rawbranch", from->rawbranch)); this->WriteLine(CommandSInfo::Builder(from, "rawversion", from->rawversion)); - - if (proto_version < PROTO_INSPIRCD_4) - { - this->WriteLine(CommandSInfo::Builder(from, "version", INSP_FORMAT("{}. {} :{}", from->rawbranch, - from->GetPublicName(), from->customversion))); - - this->WriteLine(CommandSInfo::Builder(from, "fullversion", INSP_FORMAT("{}. {} :[{}] {}", from->rawversion, - from->GetName(), from->GetId(), from->customversion))); - } } /** Recursively send the server tree. |
