From a603f39b4bdf0339d3c18570e9f8b5f5fad53c81 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 10 Jan 2025 13:59:49 +0000 Subject: [PATCH] Warn users of the old InspIRCd protocol that support is deprecated. We will drop this later in the year when that branch goes EOL. --- modules/protocol/inspircd.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/protocol/inspircd.cpp b/modules/protocol/inspircd.cpp index 187bbf68e..bfee6c58b 100644 --- a/modules/protocol/inspircd.cpp +++ b/modules/protocol/inspircd.cpp @@ -571,6 +571,9 @@ public: void SendEOB() override { Uplink::Send("ENDBURST"); + + if (spanningtree_proto_ver < 1206) + SendGlobops(nullptr, "Support for InspIRCd v3 is deprecated and will be removed in a future release. Please consider upgrading to InspIRCd v4.") } void SendGlobops(const MessageSource &source, const Anope::string &buf) override