Send IRCChannel on formatted.topic-timestamp event

This commit is contained in:
jesopo 2019-03-06 15:04:04 +00:00
parent ed3fc0e5d4
commit fb5b956f99

View file

@ -141,7 +141,7 @@ class Module(ModuleManager.BaseModule):
dt = datetime.datetime.strftime(unix_dt, utils.ISO8601_PARSE) dt = datetime.datetime.strftime(unix_dt, utils.ISO8601_PARSE)
line = "topic set at %s" % dt line = "topic set at %s" % dt
self._event("topic-timestamp", event["server"], line, self._event("topic-timestamp", event["server"], line,
event["channel"].name) event["channel"].name, channel=event["channel"])
def _on_kick(self, event, nickname): def _on_kick(self, event, nickname):
reason = "" reason = ""