Disallow ',' in nicknames
It breaks lists as in `PRIVMSG a,b,c :foo`.
This commit is contained in:
parent
1a78b3d905
commit
5c819a2c6c
@ -208,8 +208,8 @@ func updateNetworkAttrs(record *Network, attrs irc.Tags, subcommand string) erro
|
|||||||
|
|
||||||
// ' ' and ':' break the IRC message wire format, '@' and '!' break prefixes,
|
// ' ' and ':' break the IRC message wire format, '@' and '!' break prefixes,
|
||||||
// '*' and '?' break masks, '$' breaks server masks in PRIVMSG/NOTICE,
|
// '*' and '?' break masks, '$' breaks server masks in PRIVMSG/NOTICE,
|
||||||
// "*" is the reserved nickname for registration
|
// "*" is the reserved nickname for registration, ',' breaks lists
|
||||||
const illegalNickChars = " :@!*?$"
|
const illegalNickChars = " :@!*?$,"
|
||||||
|
|
||||||
// permanentDownstreamCaps is the list of always-supported downstream
|
// permanentDownstreamCaps is the list of always-supported downstream
|
||||||
// capabilities.
|
// capabilities.
|
||||||
|
Loading…
Reference in New Issue
Block a user