diff options
| author | 2018-11-13 17:23:28 +0000 | |
|---|---|---|
| committer | 2018-11-13 17:23:28 +0000 | |
| commit | 765ae0fcf9293cc7eafb59af5e961398100e2295 (patch) | |
| tree | b4c01991edd51598647e921149b4a2d974b63a1a /modules | |
| parent | Better constifying of COLORs (diff) | |
| signature | ||
Add code to tokenize and ansi-replace IRC colors; use this in
modules/print_activity.py
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/print_activity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/print_activity.py b/modules/print_activity.py index 57eff958..79a2342d 100644 --- a/modules/print_activity.py +++ b/modules/print_activity.py @@ -7,7 +7,7 @@ class Module(ModuleManager.BaseModule): target = str(event["server"]) if not channel == None: target += channel - self.bot.log.info("%s | %s", [target, line]) + self.bot.log.info("%s | %s", [target, utils.irc.to_ansi_colors(line)]) def _mode_symbols(self, user, channel, server): modes = channel.get_user_status(user) |
