aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-11-19 17:23:00 +0000
committerGravatar jesopo2019-11-19 17:23:00 +0000
commit77fa2b7b00d1209c704dea574c6b5e0ee37b1a0b (patch)
treecb4faac9ff7c735121c9b0d209c390eae686655b /modules
parentshow who opened a pull request for pull_request events when appropriate (diff)
signature
separate server name and context name with ":" in print_activity.py
Diffstat (limited to 'modules')
-rw-r--r--modules/print_activity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/print_activity.py b/modules/print_activity.py
index e2c953e9..e6a34992 100644
--- a/modules/print_activity.py
+++ b/modules/print_activity.py
@@ -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")