Filter queries more carefully

This commit is contained in:
Mark Veidemanis 2022-08-13 22:46:10 +01:00
parent ab9b0a1c9f
commit 65697ce8f0
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ class IRCBot(IRCClient):
castDup["type"] = "highlight"
self.event(**castDup)
else:
if cast["channel"].lower() == self.nickname.lower():
if cast["channel"].lower() == self.nickname.lower() or not cast["channel"].startswith("#"):
cast["mtype"] = cast["type"]
cast["type"] = "query"
# self.event(**castDup)