Filter AUTH channel (OFTC fix)

master
Mark Veidemanis 2 years ago
parent fced2b7d75
commit 5db659b9af

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

Loading…
Cancel
Save