downstream: re-format doc comment with Go 1.19 style

We can use lists now.
This commit is contained in:
Simon Ser 2022-08-05 18:37:32 +02:00
parent ac01ac0143
commit 0ef8b7d4c8

View File

@ -218,13 +218,13 @@ func updateNetworkAttrs(record *database.Network, attrs irc.Tags, subcommand str
// illegalNickChars is the list of characters forbidden in a nickname. // illegalNickChars is the list of characters forbidden in a nickname.
// //
// ' ' and ':' break the IRC message wire format // - ' ' and ':' break the IRC message wire format
// '@' and '!' break prefixes // - '@' and '!' break prefixes
// '*' breaks masks and is the reserved nickname for registration // - '*' breaks masks and is the reserved nickname for registration
// '?' breaks masks // - '?' breaks masks
// '$' breaks server masks in PRIVMSG/NOTICE // - '$' breaks server masks in PRIVMSG/NOTICE
// ',' breaks lists // - ',' breaks lists
// '.' is reserved for server names // - '.' is reserved for server names
const illegalNickChars = " :@!*?$,." const illegalNickChars = " :@!*?$,."
// permanentDownstreamCaps is the list of always-supported downstream // permanentDownstreamCaps is the list of always-supported downstream