separate server name and context name with ":" in print_activity.py

This commit is contained in:
jesopo 2019-11-19 17:23:00 +00:00
parent 2c8a94dc4c
commit 77fa2b7b00

View file

@ -20,9 +20,9 @@ class Module(ModuleManager.BaseModule):
if event["pretty"] and self.bot.get_setting("pretty-activity", False):
line = event["pretty"]
context = (":%s" % event["context"]) if event["context"] else ""
self.bot.log.info("%s%s | %s", [
str(event["server"]), event["context"] or "",
utils.irc.parse_format(line)])
str(event["server"]), context, utils.irc.parse_format(line)])
@utils.hook("formatted.message.channel")
@utils.hook("formatted.notice.channel")