home · contact · privacy
Fix clause error.
[plomlombot-irc.git] / plomlombot.py
index d81ead38938b6c2072d3b9b712a7512399ceb073..3b480682fc42062d6698f9fbdf9643bd54d55258 100755 (executable)
@@ -216,7 +216,7 @@ def handle_command(command, argument, notice, target, session):
             tokens = argument.split(" ")
         if (len(tokens) == 1 and not tokens[0].isdigit()) or \
            (len(tokens) > 1 and
             tokens = argument.split(" ")
         if (len(tokens) == 1 and not tokens[0].isdigit()) or \
            (len(tokens) > 1 and
-            tokens[0] not in {"search", "offset-search"} or
+            (tokens[0] not in {"search", "offset-search"}) or
             (tokens[0] == "offset-search" and
              ((not len(tokens) > 2) or (not tokens[1].isdigit())))):
             help()
             (tokens[0] == "offset-search" and
              ((not len(tokens) > 2) or (not tokens[1].isdigit())))):
             help()