From 765ae0fcf9293cc7eafb59af5e961398100e2295 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 13 Nov 2018 17:23:28 +0000 Subject: Add code to tokenize and ansi-replace IRC colors; use this in modules/print_activity.py --- modules/print_activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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) -- cgit v1.3.1-10-gc9f91