downstream: disallow '.' in nicknames

See [1] and [2].

[1]: https://github.com/ircdocs/modern-irc/pull/148
[2]: eff6dd242b/irc/strings.go (L29)

git-svn-id: file:///srv/svn/repo/suika/trunk@794 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
contact 2022-03-03 09:54:21 +00:00
parent 8b3b076e5e
commit f617c794b7

View File

@ -215,7 +215,8 @@ func updateNetworkAttrs(record *Network, attrs irc.Tags, subcommand string) erro
// '?' breaks masks
// '$' breaks server masks in PRIVMSG/NOTICE
// ',' breaks lists
const illegalNickChars = " :@!*?$,"
// '.' is reserved for server names
const illegalNickChars = " :@!*?$,."
// permanentDownstreamCaps is the list of always-supported downstream
// capabilities.