summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-api-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/plugin-api-info.c')
-rw-r--r--src/plugins/plugin-api-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/plugin-api-info.c b/src/plugins/plugin-api-info.c
index 6e79aee68..0eb20b473 100644
--- a/src/plugins/plugin-api-info.c
+++ b/src/plugins/plugin-api-info.c
@@ -1661,7 +1661,7 @@ plugin_api_infolist_plugin_cb (const void *pointer, void *data,
ptr_plugin = ptr_plugin->next_plugin)
{
if (!arguments || !arguments[0]
- || string_match (ptr_plugin->name, arguments, 0))
+ || string_match (ptr_plugin->name, arguments, 1))
{
if (!plugin_add_to_infolist (ptr_infolist, ptr_plugin))
{