aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-03-05 09:30:50 +0000
committerGravatar jesopo2019-03-05 09:30:50 +0000
commitb4f3ff334471d417a71eafdfd95bb6a2dcf1f691 (patch)
tree5829fd467ac02517992a969c9f46e4559d2ae654 /modules
parentWe need to pass a user object to _privmsg (diff)
signature
_on_topic doesn't take an IRCChannel param
Diffstat (limited to 'modules')
-rw-r--r--modules/format_activity.py2
1 files changed, 1 insertions, 1 deletions
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)