Don't warn about authenticated users being impersonators
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
c9c3c952c3
commit
f3fbad7e5a
|
@ -805,7 +805,7 @@ class MessageParser:
|
|||
str_msg: str = " ".join(content[1:])
|
||||
user: str = content[0].strip()
|
||||
|
||||
if user.lower() in CONFIG["impersonators"]:
|
||||
if user.lower() in CONFIG["impersonators"] and user not in AUTH["users"]:
|
||||
return guac_msg("chat", f"@{user} is an impersonator. Do not trust them.")
|
||||
|
||||
if user and user != CONFIG["bot-name"]:
|
||||
|
|
Loading…
Reference in a new issue