From 94d5822c46591e59eddb5d789f4da244d174d646 Mon Sep 17 00:00:00 2001 From: Thorsten S Date: Fri, 3 Jan 2020 16:29:54 +0100 Subject: [PATCH] bugfix --- distbot/plugins/searx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.2