From f3f864dddcadb16a67ac875b4db3d81efa28db44 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 23 Jun 2021 19:54:22 +0200 Subject: [PATCH] Disallow '$' in nicks --- downstream.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/downstream.go b/downstream.go index 8de1152..4898d2b 100644 --- a/downstream.go +++ b/downstream.go @@ -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.