summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-01-10 13:59:49 +0000
committerSadie Powell <sadie@witchery.services>2025-01-10 13:59:49 +0000
commita603f39b4bdf0339d3c18570e9f8b5f5fad53c81 (patch)
tree709c74f4f6d1acebc95003356997a7513bb428f8 /modules
parent78b548628ca29e5f47c201fbadfcca1c81ad3133 (diff)
Warn users of the old InspIRCd protocol that support is deprecated.
We will drop this later in the year when that branch goes EOL.
Diffstat (limited to 'modules')
-rw-r--r--modules/protocol/inspircd.cpp3
1 files changed, 3 insertions, 0 deletions
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