Disallow '$' in nicks

git-svn-id: file:///srv/svn/repo/suika/trunk@565 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
contact 2021-06-23 17:54:22 +00:00
parent 84e9f30865
commit c781bcfa4c

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.