diff options
-rw-r--r-- | include/protocol.h | 2 | ||||
-rw-r--r-- | modules/protocol/inspircd.cpp | 1 | ||||
-rw-r--r-- | src/protocol.cpp | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/include/protocol.h b/include/protocol.h index 55fdc0b69..feef6a162 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -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 */ diff --git a/modules/protocol/inspircd.cpp b/modules/protocol/inspircd.cpp index 94edf1737..bedb30ca3 100644 --- a/modules/protocol/inspircd.cpp +++ b/modules/protocol/inspircd.cpp @@ -66,6 +66,7 @@ class InspIRCdProto : public IRCDProto CanSZLine = true; CanSVSHold = true; CanCertFP = true; + CanSendTags = true; RequiresID = true; MaxModes = 20; MaxLine = 4096; diff --git a/src/protocol.cpp b/src/protocol.cpp index 9a103df24..c81d18e5f 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -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; |