diff options
| author | 2019-01-13 21:56:36 +0000 | |
|---|---|---|
| committer | 2019-01-13 21:56:36 +0000 | |
| commit | 598fcb80b9d4a944b6bf4f63b916c939caca5692 (patch) | |
| tree | b10d25464bce700a5fd90e5c1bfdb5e4375706f5 /modules | |
| parent | don't consume 3 digits for a colour code when the first char is 0 and the second (diff) | |
| signature | ||
'to_ansi_colors(' -> 'parse_format(' as it's become a lot more than just colors.
strip \x08 (in case hexchat users paste it) (print_activity.py, src.utils.irc)
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/print_activity.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/print_activity.py b/modules/print_activity.py index 4014ab83..eb2683c2 100644 --- a/modules/print_activity.py +++ b/modules/print_activity.py @@ -9,7 +9,8 @@ class Module(ModuleManager.BaseModule): target = str(event["server"]) if not channel == None: target += channel - self.bot.log.info("%s | %s", [target, utils.irc.to_ansi_colors(line)]) + formatted_line = utils.irc.parse_format(line) + self.bot.log.info("%s | %s", [target, formatted_line]) def _mode_symbols(self, user, channel, server): modes = channel.get_user_status(user) |
