downstream: re-format illegalNickChars doc comment

git-svn-id: file:///srv/svn/repo/suika/trunk@793 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
contact 2022-03-03 09:53:33 +00:00
parent 2c8867bdb0
commit 8b3b076e5e

View File

@ -207,9 +207,14 @@ func updateNetworkAttrs(record *Network, attrs irc.Tags, subcommand string) erro
return nil
}
// ' ' and ':' break the IRC message wire format, '@' and '!' break prefixes,
// '*' and '?' break masks, '$' breaks server masks in PRIVMSG/NOTICE,
// "*" is the reserved nickname for registration, ',' breaks lists
// 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
const illegalNickChars = " :@!*?$,"
// permanentDownstreamCaps is the list of always-supported downstream