downstream: re-format doc comment with Go 1.19 style
We can use lists now.
This commit is contained in:
parent
ac01ac0143
commit
0ef8b7d4c8
@ -218,13 +218,13 @@ func updateNetworkAttrs(record *database.Network, attrs irc.Tags, subcommand str
|
||||
|
||||
// illegalNickChars is the list of characters forbidden in a nickname.
|
||||
//
|
||||
// ' ' and ':' break the IRC message wire format
|
||||
// '@' and '!' break prefixes
|
||||
// '*' breaks masks and is the reserved nickname for registration
|
||||
// '?' breaks masks
|
||||
// '$' breaks server masks in PRIVMSG/NOTICE
|
||||
// ',' breaks lists
|
||||
// '.' is reserved for server names
|
||||
// - ' ' and ':' break the IRC message wire format
|
||||
// - '@' and '!' break prefixes
|
||||
// - '*' breaks masks and is the reserved nickname for registration
|
||||
// - '?' breaks masks
|
||||
// - '$' breaks server masks in PRIVMSG/NOTICE
|
||||
// - ',' breaks lists
|
||||
// - '.' is reserved for server names
|
||||
const illegalNickChars = " :@!*?$,."
|
||||
|
||||
// permanentDownstreamCaps is the list of always-supported downstream
|
||||
|
Loading…
Reference in New Issue
Block a user