From dcd7fcc3c08733ea87621316b6a6e1e1bdce01b6 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 13 Aug 2022 22:15:50 +0100 Subject: [PATCH] Filter AUTH channel (OFTC fix) --- core/bot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/bot.py b/core/bot.py index c10f0ac..5d40d6e 100644 --- a/core/bot.py +++ b/core/bot.py @@ -207,6 +207,9 @@ class IRCBot(IRCClient): # self.event(**castDup) # Don't call self.event for this one because queries are not events on a # channel, but we still want to see them + if cast["channel"] == "AUTH": + cast["type"] = "conn" + cast["mtype"] = cast["type"] # TODO: better way to do this # as we changed the types above, check again