Filter queries more carefully

master
Mark Veidemanis 2 years ago
parent abeba6bc06
commit 4c91b6ad2c

@ -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)

Loading…
Cancel
Save