Remove use of print() in modules/line_handler.py

This commit is contained in:
jesopo 2018-12-02 09:46:57 +00:00
parent cbc3ae3432
commit 48eeb11554

View file

@ -262,7 +262,7 @@ class Module(ModuleManager.BaseModule):
# unknown command sent by us, oops! # unknown command sent by us, oops!
@utils.hook("raw.received.421", default_event=True) @utils.hook("raw.received.421", default_event=True)
def handle_421(self, event): 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! # a user has disconnected!
@utils.hook("raw.received.quit") @utils.hook("raw.received.quit")