Disallow '$' in nicks

This commit is contained in:
Simon Ser 2021-06-23 19:54:22 +02:00
parent 089608409e
commit f3f864dddc
1 changed files with 2 additions and 2 deletions

View File

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