mirror of https://gitlab.com/bashrc2/epicyon
Don't confuse nicknames for people and groups
parent
bee0a4bcf5
commit
e51b511fed
2
utils.py
2
utils.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue