Filter AUTH channel (OFTC fix)
This commit is contained in:
parent
7415ca5556
commit
dcd7fcc3c0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue