From d1ece21b5f581f39b97262e981a7d68e2a82f0bb Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 24 May 2016 01:36:21 +0100 Subject: [PATCH] Complete no arg for /plugins load --- src/command/cmd_ac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c index 5cc0405a..ab62fa3a 100644 --- a/src/command/cmd_ac.c +++ b/src/command/cmd_ac.c @@ -1853,7 +1853,7 @@ static char* _plugins_autocomplete(ProfWin *window, const char *const input) { char *result = NULL; - if ((strncmp(input, "/plugins load ", 14) == 0) && (strlen(input) > 14)) { + if (strncmp(input, "/plugins load ", 14) == 0) { if (plugins_load_ac == NULL) { plugins_load_ac = autocomplete_new(); GSList *plugins = plugins_unloaded_list();