From 65697ce8f0f6117c2541a49fdc771d1ac350b2d8 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 13 Aug 2022 22:46:10 +0100 Subject: [PATCH] Filter queries more carefully --- core/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/bot.py b/core/bot.py index 5d40d6e..df3345a 100644 --- a/core/bot.py +++ b/core/bot.py @@ -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)