about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-24 01:36:21 +0100
committerJames Booth <boothj5@gmail.com>2016-05-24 01:36:21 +0100
commitd1ece21b5f581f39b97262e981a7d68e2a82f0bb (patch)
treeee03db2492cc86d7eacff7986fa606d9fe5dfb16
parente183fd918614dcbecfc10203d660d2607d1f4f27 (diff)
downloadprofani-tty-d1ece21b5f581f39b97262e981a7d68e2a82f0bb.tar.gz
Complete no arg for /plugins load
-rw-r--r--src/command/cmd_ac.c2
1 files changed, 1 insertions, 1 deletions
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();