aboutsummaryrefslogtreecommitdiff
path: root/modules/print_activity.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-13 17:23:28 +0000
committerGravatar jesopo2018-11-13 17:23:28 +0000
commit765ae0fcf9293cc7eafb59af5e961398100e2295 (patch)
treeb4c01991edd51598647e921149b4a2d974b63a1a /modules/print_activity.py
parentBetter 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/print_activity.py')
-rw-r--r--modules/print_activity.py2
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)