1
0
Fork 0
forked from External/ergo

add standard-replies capability

This commit is contained in:
Shivaram Lingamneni 2022-12-30 10:16:52 -05:00
parent 30fbfe4cc0
commit bceae9b739
2 changed files with 14 additions and 3 deletions

View file

@ -7,8 +7,8 @@ package caps
const (
// number of recognized capabilities:
numCapabs = 30
// length of the uint64 array that represents the bitset:
numCapabs = 31
// length of the uint32 array that represents the bitset:
bitsetLen = 1
)
@ -117,6 +117,10 @@ const (
// https://ircv3.net/specs/extensions/setname.html
SetName Capability = iota
// StandardReplies is the IRCv3 capability named "standard-replies":
// https://github.com/ircv3/ircv3-specifications/pull/506
StandardReplies Capability = iota
// STS is the IRCv3 capability named "sts":
// https://ircv3.net/specs/extensions/sts.html
STS Capability = iota
@ -163,6 +167,7 @@ var (
"sasl",
"server-time",
"setname",
"standard-replies",
"sts",
"userhost-in-names",
"znc.in/playback",