1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 21:06:39 +02:00

Replace IRCDProto::CanSendTags with IsTagValid.

Not every IRC server accepts arbitrary tags so this is a better
way to handle tag filtering.
This commit is contained in:
Sadie Powell
2024-02-26 15:44:36 +00:00
parent c6cb4ba159
commit 57674f5869
3 changed files with 17 additions and 10 deletions
+6 -1
View File
@@ -117,7 +117,6 @@ public:
CanSVSHold = true;
CanSVSLogout = true;
CanCertFP = true;
CanSendTags = true;
RequiresID = true;
MaxModes = 20;
MaxLine = 4096;
@@ -583,6 +582,12 @@ public:
return true;
}
bool IsTagValid(const Anope::string &name, const Anope::string &tvalue)
{
// InspIRCd accepts arbitrary message tags.
return true;
}
};
class InspIRCdAutoOpMode final