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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user