summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-26 15:44:36 +0000
committerSadie Powell <sadie@witchery.services>2024-02-26 15:50:35 +0000
commit57674f5869a216e0ffc8a7c9cb59f86d1bae1f88 (patch)
treee83abffe6aa40a091fdd7e2cb1f170731e1c9d71 /include
parentc6cb4ba159a8916243d7ac5a5c4e8d13942baf99 (diff)
Replace IRCDProto::CanSendTags with IsTagValid.
Not every IRC server accepts arbitrary tags so this is a better way to handle tag filtering.
Diffstat (limited to 'include')
-rw-r--r--include/protocol.h4
1 files changed, 1 insertions, 3 deletions
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