From b4f3ff334471d417a71eafdfd95bb6a2dcf1f691 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 5 Mar 2019 09:30:50 +0000 Subject: [PATCH] _on_topic doesn't take an IRCChannel param --- modules/format_activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/format_activity.py b/modules/format_activity.py index fbfc9f90..699f662b 100644 --- a/modules/format_activity.py +++ b/modules/format_activity.py @@ -121,7 +121,7 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.333") def on_333(self, event): self._on_topic(event, event["setter"], "set", - event["channel"].topic, event["channel"]) + event["channel"].topic) unix_dt = datetime.datetime.utcfromtimestamp(event["set_at"]) dt = datetime.datetime.strftime(unix_dt, utils.ISO8601_PARSE)