diff options
| author | 2019-03-06 08:08:20 +0000 | |
|---|---|---|
| committer | 2019-03-06 08:08:20 +0000 | |
| commit | b5b841033f94feb9d7074137bf8a085c3a6ab4ad (patch) | |
| tree | a857a7a96a393041fc8dc63dc6fb90cea00a03a4 /modules/format_activity.py | |
| parent | 'pull' -> 'PR' in !ghpull (diff) | |
| signature | ||
Do format parsing (color, bold, etc) in format_activity.py
Diffstat (limited to 'modules/format_activity.py')
| -rw-r--r-- | modules/format_activity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/format_activity.py b/modules/format_activity.py index 2e973296..c7edbec0 100644 --- a/modules/format_activity.py +++ b/modules/format_activity.py @@ -3,8 +3,8 @@ from src import EventManager, ModuleManager, utils class Module(ModuleManager.BaseModule): def _event(self, type, server, line, context): - self.events.on("formatted").on(type).call(server=server, line=line, - context=context) + self.events.on("formatted").on(type).call(server=server, + context=context, line=utils.irc.parse_format(line)) def _mode_symbols(self, user, channel, server): modes = channel.get_user_status(user) |
