Filter AUTH channel (OFTC fix)

This commit is contained in:
Mark Veidemanis 2022-08-13 22:15:50 +01:00
parent fced2b7d75
commit 5db659b9af
1 changed files with 3 additions and 0 deletions

View File

@ -207,6 +207,9 @@ class IRCBot(IRCClient):
# self.event(**castDup) # self.event(**castDup)
# Don't call self.event for this one because queries are not events on a # Don't call self.event for this one because queries are not events on a
# channel, but we still want to see them # 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 # TODO: better way to do this
# as we changed the types above, check again # as we changed the types above, check again