Filter AUTH channel (OFTC fix)

This commit is contained in:
Mark Veidemanis 2022-08-13 22:15:50 +01:00
parent 7415ca5556
commit dcd7fcc3c0
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 3 additions and 0 deletions

View File

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