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

Allow protocol modules to declare that the IRCd supports tags.

This is not being used currently but will be soon.
This commit is contained in:
Sadie Powell
2021-05-31 22:57:31 +01:00
parent cadc6f48e6
commit 376053e0ac
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -62,6 +62,8 @@ class CoreExport IRCDProto : public Service
bool CanSVSHold;
/* See ns_cert */
bool CanCertFP;
/* Can we send arbitrary message tags? */
bool CanSendTags;
/* Whether this IRCd requires unique IDs for each user or server. See TS6/P10. */
bool RequiresID;
/* If this IRCd has unique ids, whether the IDs and nicknames are ambiguous */
+1
View File
@@ -66,6 +66,7 @@ class InspIRCdProto : public IRCDProto
CanSZLine = true;
CanSVSHold = true;
CanCertFP = true;
CanSendTags = true;
RequiresID = true;
MaxModes = 20;
MaxLine = 4096;
+1 -1
View File
@@ -25,7 +25,7 @@ IRCDProto::IRCDProto(Module *creator, const Anope::string &p) : Service(creator,
{
DefaultPseudoclientModes = "+io";
CanSVSNick = CanSVSJoin = CanSetVHost = CanSetVIdent = CanSNLine = CanSQLine = CanSQLineChannel
= CanSZLine = CanSVSHold = CanCertFP = RequiresID = AmbiguousID = false;
= CanSZLine = CanSVSHold = CanCertFP = CanSendTags = RequiresID = AmbiguousID = false;
MaxModes = 3;
MaxLine = 512;