From 61acf6cd8e7a42c00499d0e0ad9a4425eb248927 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 6 Mar 2019 13:39:09 +0000 Subject: [PATCH] Attach channel object to formatted.rename events --- modules/format_activity.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/format_activity.py b/modules/format_activity.py index 1ec932ef..921b0a98 100644 --- a/modules/format_activity.py +++ b/modules/format_activity.py @@ -176,7 +176,8 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.rename") def rename(self, event): line = "%s was renamed to %s" % (event["old_name"], event["new_name"]) - self._event("rename", event["server"], line, event["old_name"]) + self._event("rename", event["server"], line, event["old_name"], + channel=event["channel"]) @utils.hook("received.376") def motd_end(self, event):