downstream: disallow '.' in nicknames

See [1] and [2].

[1]: https://github.com/ircdocs/modern-irc/pull/148
[2]: eff6dd242b/irc/strings.go (L29)
This commit is contained in:
Simon Ser 2022-03-03 10:54:21 +01:00
parent 7b3e46a7c2
commit a438c34489

View File

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