diff options
Diffstat (limited to 'modules/print_activity.py')
| -rw-r--r-- | modules/print_activity.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/print_activity.py b/modules/print_activity.py index a8c710e9..8344255e 100644 --- a/modules/print_activity.py +++ b/modules/print_activity.py @@ -36,7 +36,9 @@ class Module(object): target = str(event["server"]) if not channel == None: target += channel - print("[%s] %s | %s" % (timestamp, target, line)) + self.bot.events.on("log.info").call( + message="%s | %s", + params=[target, line]) def _on_message(self, event, nickname): if not self.bot.args.verbose: |
