Disallow '$' in nicks

This commit is contained in:
Simon Ser 2021-06-23 19:54:22 +02:00
parent 089608409e
commit f3f864dddc

View File

@ -109,8 +109,8 @@ func getNetworkAttrs(network *network) irc.Tags {
} }
// ' ' and ':' break the IRC message wire format, '@' and '!' break prefixes, // ' ' and ':' break the IRC message wire format, '@' and '!' break prefixes,
// '*' and '?' break masks // '*' and '?' break masks, '$' breaks server masks in PRIVMSG/NOTICE
const illegalNickChars = " :@!*?" const illegalNickChars = " :@!*?$"
// permanentDownstreamCaps is the list of always-supported downstream // permanentDownstreamCaps is the list of always-supported downstream
// capabilities. // capabilities.