Filter queries more carefully
This commit is contained in:
parent
ab9b0a1c9f
commit
65697ce8f0
|
@ -201,7 +201,7 @@ class IRCBot(IRCClient):
|
||||||
castDup["type"] = "highlight"
|
castDup["type"] = "highlight"
|
||||||
self.event(**castDup)
|
self.event(**castDup)
|
||||||
else:
|
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["mtype"] = cast["type"]
|
||||||
cast["type"] = "query"
|
cast["type"] = "query"
|
||||||
# self.event(**castDup)
|
# self.event(**castDup)
|
||||||
|
|
Loading…
Reference in New Issue