mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
review fix
This commit is contained in:
parent
2a33c1483b
commit
a1bbe0c7f2
4 changed files with 13 additions and 15 deletions
|
|
@ -7,16 +7,12 @@ package caps
|
|||
|
||||
const (
|
||||
// number of recognized capabilities:
|
||||
numCapabs = 21
|
||||
numCapabs = 20
|
||||
// length of the uint64 array that represents the bitset:
|
||||
bitsetLen = 1
|
||||
)
|
||||
|
||||
const (
|
||||
// LabelTagName is the draft IRCv3 tag name capability named "draft/label":
|
||||
// https://ircv3.net/specs/extensions/labeled-response.html
|
||||
LabelTagName Capability = iota
|
||||
|
||||
// AccountNotify is the IRCv3 capability named "account-notify":
|
||||
// https://ircv3.net/specs/extensions/account-notify-3.1.html
|
||||
AccountNotify Capability = iota
|
||||
|
|
@ -98,9 +94,9 @@ const (
|
|||
UserhostInNames Capability = iota
|
||||
)
|
||||
|
||||
// `capabilityNames[capab]` is the string name of the capability `capab`
|
||||
var (
|
||||
capabilityNames = [numCapabs]string{
|
||||
"draft/label",
|
||||
"account-notify",
|
||||
"account-tag",
|
||||
"away-notify",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue