summaryrefslogtreecommitdiff
path: root/searx/plugins/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/plugins/__init__.py')
-rw-r--r--searx/plugins/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py
index 768a510af..011d36260 100644
--- a/searx/plugins/__init__.py
+++ b/searx/plugins/__init__.py
@@ -63,9 +63,9 @@ class PluginStore():
plugin.id = plugin.name.replace(' ', '_')
self.plugins.append(plugin)
- def call(self, plugin_type, request, *args, **kwargs):
+ def call(self, ordered_plugin_list, plugin_type, request, *args, **kwargs):
ret = True
- for plugin in request.user_plugins:
+ for plugin in ordered_plugin_list:
if hasattr(plugin, plugin_type):
ret = getattr(plugin, plugin_type)(request, *args, **kwargs)
if not ret: