Don't confuse nicknames for people and groups

main
Bob Mottram 2021-07-30 12:23:42 +01:00
parent bee0a4bcf5
commit e51b511fed
1 changed files with 1 additions and 1 deletions

View File

@ -1619,7 +1619,7 @@ def validNickname(domain: str, nickname: str) -> bool:
return False return False
if not isValidLanguage(nickname): if not isValidLanguage(nickname):
return False return False
forbiddenChars = ('.', ' ', '/', '?', ':', ';', '@', '#') forbiddenChars = ('.', ' ', '/', '?', ':', ';', '@', '#', '!')
for c in forbiddenChars: for c in forbiddenChars:
if c in nickname: if c in nickname:
return False return False