From: Christian Heller Date: Thu, 7 Mar 2019 11:15:40 +0000 (+0100) Subject: Revert necessary clause erroneously removed. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/decks?a=commitdiff_plain;h=a07cd87563d4ce92084884ba918b300ba97471b2;p=plomlombot-irc.git Revert necessary clause erroneously removed. --- diff --git a/plomlombot.py b/plomlombot.py index 96b399b..c835d56 100755 --- a/plomlombot.py +++ b/plomlombot.py @@ -234,7 +234,7 @@ def handle_command(command, argument, notice, target, session): notice("there's no quote of that index") return i = i - 1 - else: + elif len(tokens) > 1: to_skip = 0 if tokens[0] == "search": query = str.join(" ", tokens[1:])