From 57674f5869a216e0ffc8a7c9cb59f86d1bae1f88 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 26 Feb 2024 15:44:36 +0000 Subject: Replace IRCDProto::CanSendTags with IsTagValid. Not every IRC server accepts arbitrary tags so this is a better way to handle tag filtering. --- include/protocol.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/protocol.h b/include/protocol.h index 911c78d68..73373f881 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -92,9 +92,6 @@ public: /* See ns_cert */ bool CanCertFP = false; - /* Can we send arbitrary message tags? */ - bool CanSendTags = false; - /* Can users log out before being fully connected? */ bool CanSVSLogout = false; @@ -288,6 +285,7 @@ public: virtual bool IsIdentValid(const Anope::string &); virtual bool IsHostValid(const Anope::string &); virtual bool IsExtbanValid(const Anope::string &) { return false; } + virtual bool IsTagValid(const Anope::string &, const Anope::string &) { return false; } /** Retrieve the maximum number of list modes settable on this channel * Defaults to Config->ListSize -- cgit