diff options
| author | 2018-12-02 09:46:57 +0000 | |
|---|---|---|
| committer | 2018-12-02 09:46:57 +0000 | |
| commit | 48eeb115543d6edc7900c19272fc771ac5a21f1e (patch) | |
| tree | b28259927164335b8b52cee319c914b0cb0e81c4 /modules/line_handler.py | |
| parent | Remove usage of sys.stderr in IRCBot.py, change disconnect logs from `info` to (diff) | |
| signature | ||
Remove use of `print()` in modules/line_handler.py
Diffstat (limited to 'modules/line_handler.py')
| -rw-r--r-- | modules/line_handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/line_handler.py b/modules/line_handler.py index 9b52e773..b5e58f91 100644 --- a/modules/line_handler.py +++ b/modules/line_handler.py @@ -262,7 +262,7 @@ class Module(ModuleManager.BaseModule): # unknown command sent by us, oops! @utils.hook("raw.received.421", default_event=True) def handle_421(self, event): - print("warning: unknown command '%s'." % event["args"][1]) + self.bot.log.warn("We sent an unknown command: %s", [event["args"][1]]) # a user has disconnected! @utils.hook("raw.received.quit") |
