_on_topic doesn't take an IRCChannel param
This commit is contained in:
parent
2750f29989
commit
b4f3ff3344
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
@utils.hook("received.333")
|
@utils.hook("received.333")
|
||||||
def on_333(self, event):
|
def on_333(self, event):
|
||||||
self._on_topic(event, event["setter"], "set",
|
self._on_topic(event, event["setter"], "set",
|
||||||
event["channel"].topic, event["channel"])
|
event["channel"].topic)
|
||||||
|
|
||||||
unix_dt = datetime.datetime.utcfromtimestamp(event["set_at"])
|
unix_dt = datetime.datetime.utcfromtimestamp(event["set_at"])
|
||||||
dt = datetime.datetime.strftime(unix_dt, utils.ISO8601_PARSE)
|
dt = datetime.datetime.strftime(unix_dt, utils.ISO8601_PARSE)
|
||||||
|
|
Loading…
Reference in a new issue