From ae4a30355475a11d871a69dd1859a748e02e0d96 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Sat, 4 Jul 2015 12:39:52 +0200 Subject: [PATCH] Fix #74 --- nemubot/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nemubot/bot.py b/nemubot/bot.py index 307fe0f..95f8439 100644 --- a/nemubot/bot.py +++ b/nemubot/bot.py @@ -81,9 +81,9 @@ class Bot(threading.Thread): """Parse and response to help messages""" from more import Response res = Response(channel=msg.frm) - if len(msg.args) > 1: + if len(msg.args) >= 1: if msg.args[0] in self.modules: - if len(msg.args) > 2: + if len(msg.args) >= 2: if hasattr(self.modules[msg.args[0]], "HELP_cmd"): res.append_message(self.modules[msg.args[0]].HELP_cmd(msg.args[1])) else: