diff options
| author | 2019-07-02 08:48:18 +0100 | |
|---|---|---|
| committer | 2019-07-02 08:48:18 +0100 | |
| commit | 5013b81699d2fb0cd6c14a3d4808b470a3a41a65 (patch) | |
| tree | 4554440c5760c6660bd39f9e7bf49424baa07069 /modules | |
| parent | Pass channel object along with formatted.notice.channel events (diff) | |
| signature | ||
pass IRCUser objects through formatted.notice events
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/format_activity.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/format_activity.py b/modules/format_activity.py index e6d7044b..978eabef 100644 --- a/modules/format_activity.py +++ b/modules/format_activity.py @@ -47,12 +47,13 @@ class Module(ModuleManager.BaseModule): def _channel_notice(self, event, sender, channel): line = self._on_notice(event, sender) self._event("notice.channel", event["server"], line, - event["channel"].name, parsed_line=event["line"], channel=channel) + event["channel"].name, parsed_line=event["line"], channel=channel, + user=event["user"]) def _private_notice(self, event, sender, target): line = self._on_notice(event, sender) self._event("notice.private", event["server"], line, None, - parsed_line=event["line"]) + parsed_line=event["line"], user=event["user"]) @utils.hook("received.notice.channel") def channel_notice(self, event): |
