From: Thorsten S Date: Fri, 3 Jan 2020 15:29:54 +0000 (+0100) Subject: bugfix X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=94d5822c46591e59eddb5d789f4da244d174d646;p=urlbot-v3.git bugfix --- diff --git a/distbot/plugins/searx.py b/distbot/plugins/searx.py index 1f4cdbc..3c1ca1a 100644 --- a/distbot/plugins/searx.py +++ b/distbot/plugins/searx.py @@ -101,7 +101,7 @@ class Searx(Worker): def parse_body(self, msg): words = get_words(msg) - if words[1] == "next-searx": + if words[0] == "next-searx": searx_provider = self.search_list.pop(0) return Action(msg='Ok. There goes {}'.format(searx_provider)) else: