From e51b511fedad2c86ac3d0c9c10ddd523421b6e66 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 30 Jul 2021 12:23:42 +0100 Subject: [PATCH] Don't confuse nicknames for people and groups --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index e70657ca4..89ef4970b 100644 --- a/utils.py +++ b/utils.py @@ -1619,7 +1619,7 @@ def validNickname(domain: str, nickname: str) -> bool: return False if not isValidLanguage(nickname): return False - forbiddenChars = ('.', ' ', '/', '?', ':', ';', '@', '#') + forbiddenChars = ('.', ' ', '/', '?', ':', ';', '@', '#', '!') for c in forbiddenChars: if c in nickname: return False