diff options
| author | 2018-08-28 12:23:57 +0100 | |
|---|---|---|
| committer | 2018-08-28 12:23:57 +0100 | |
| commit | e5a5fa5c4b40918247be8486d27a1676b6d2b044 (patch) | |
| tree | 70e61a968a20134b01ea4e4f5611e4e254df06ae /modules/print_activity.py | |
| parent | Prevent users sending coins to themselves (diff) | |
| signature | ||
modules/logging.py -> IRCLogging.py; IRCLog.py -> IRCBuffer.py; change logging
to be an object on the server object instead of an event call
Diffstat (limited to 'modules/print_activity.py')
| -rw-r--r-- | modules/print_activity.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/print_activity.py b/modules/print_activity.py index 8344255e..21ce9796 100644 --- a/modules/print_activity.py +++ b/modules/print_activity.py @@ -36,9 +36,7 @@ class Module(object): target = str(event["server"]) if not channel == None: target += channel - self.bot.events.on("log.info").call( - message="%s | %s", - params=[target, line]) + self.bot.log.info("%s | %s", [target, line]) def _on_message(self, event, nickname): if not self.bot.args.verbose: |
