mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 20:09:41 +01:00
add standard-replies capability
This commit is contained in:
parent
30fbfe4cc0
commit
bceae9b739
@ -195,6 +195,12 @@ CAPDEFS = [
|
|||||||
url="https://github.com/ircv3/ircv3-specifications/pull/503",
|
url="https://github.com/ircv3/ircv3-specifications/pull/503",
|
||||||
standard="proposed IRCv3",
|
standard="proposed IRCv3",
|
||||||
),
|
),
|
||||||
|
CapDef(
|
||||||
|
identifier="StandardReplies",
|
||||||
|
name="standard-replies",
|
||||||
|
url="https://github.com/ircv3/ircv3-specifications/pull/506",
|
||||||
|
standard="IRCv3",
|
||||||
|
),
|
||||||
]
|
]
|
||||||
|
|
||||||
def validate_defs():
|
def validate_defs():
|
||||||
@ -230,7 +236,7 @@ package caps
|
|||||||
const (
|
const (
|
||||||
// number of recognized capabilities:
|
// number of recognized capabilities:
|
||||||
numCapabs = %d
|
numCapabs = %d
|
||||||
// length of the uint64 array that represents the bitset:
|
// length of the uint32 array that represents the bitset:
|
||||||
bitsetLen = %d
|
bitsetLen = %d
|
||||||
)
|
)
|
||||||
""" % (numCapabs, bitsetLen), file=output)
|
""" % (numCapabs, bitsetLen), file=output)
|
||||||
|
@ -7,8 +7,8 @@ package caps
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// number of recognized capabilities:
|
// number of recognized capabilities:
|
||||||
numCapabs = 30
|
numCapabs = 31
|
||||||
// length of the uint64 array that represents the bitset:
|
// length of the uint32 array that represents the bitset:
|
||||||
bitsetLen = 1
|
bitsetLen = 1
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -117,6 +117,10 @@ const (
|
|||||||
// https://ircv3.net/specs/extensions/setname.html
|
// https://ircv3.net/specs/extensions/setname.html
|
||||||
SetName Capability = iota
|
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":
|
// STS is the IRCv3 capability named "sts":
|
||||||
// https://ircv3.net/specs/extensions/sts.html
|
// https://ircv3.net/specs/extensions/sts.html
|
||||||
STS Capability = iota
|
STS Capability = iota
|
||||||
@ -163,6 +167,7 @@ var (
|
|||||||
"sasl",
|
"sasl",
|
||||||
"server-time",
|
"server-time",
|
||||||
"setname",
|
"setname",
|
||||||
|
"standard-replies",
|
||||||
"sts",
|
"sts",
|
||||||
"userhost-in-names",
|
"userhost-in-names",
|
||||||
"znc.in/playback",
|
"znc.in/playback",
|
||||||
|
Loading…
Reference in New Issue
Block a user