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:
@@ -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 */
|
||||
|
||||
@@ -66,6 +66,7 @@ class InspIRCdProto : public IRCDProto
|
||||
CanSZLine = true;
|
||||
CanSVSHold = true;
|
||||
CanCertFP = true;
|
||||
CanSendTags = true;
|
||||
RequiresID = true;
|
||||
MaxModes = 20;
|
||||
MaxLine = 4096;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user