From cf01291da809290781aa2c5ae657bf86d87ac5e7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 24 Aug 2024 16:26:58 +0100 Subject: Fix broadcasting server information to remote v3 servers. --- src/modules/m_spanningtree/netburst.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/modules/m_spanningtree/netburst.cpp') 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. -- cgit v1.3.1-10-gc9f91