separate server name and context name with ":" in print_activity.py
This commit is contained in:
parent
2c8a94dc4c
commit
77fa2b7b00
1 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
if event["pretty"] and self.bot.get_setting("pretty-activity", False):
|
if event["pretty"] and self.bot.get_setting("pretty-activity", False):
|
||||||
line = event["pretty"]
|
line = event["pretty"]
|
||||||
|
|
||||||
|
context = (":%s" % event["context"]) if event["context"] else ""
|
||||||
self.bot.log.info("%s%s | %s", [
|
self.bot.log.info("%s%s | %s", [
|
||||||
str(event["server"]), event["context"] or "",
|
str(event["server"]), context, utils.irc.parse_format(line)])
|
||||||
utils.irc.parse_format(line)])
|
|
||||||
|
|
||||||
@utils.hook("formatted.message.channel")
|
@utils.hook("formatted.message.channel")
|
||||||
@utils.hook("formatted.notice.channel")
|
@utils.hook("formatted.notice.channel")
|
||||||
|
|
Loading…
Reference in a new issue