~emersion/soju

0ef8b7d4c8f659bf3d594d3f181db02db482cd75 — Simon Ser 13 days ago ac01ac0
downstream: re-format doc comment with Go 1.19 style

We can use lists now.
1 files changed, 7 insertions(+), 7 deletions(-)

M downstream.go
M downstream.go => downstream.go +7 -7
@@ 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