diff options
author | James Booth <boothj5@gmail.com> | 2016-05-24 01:36:21 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-05-24 01:36:21 +0100 |
commit | d1ece21b5f581f39b97262e981a7d68e2a82f0bb (patch) | |
tree | ee03db2492cc86d7eacff7986fa606d9fe5dfb16 | |
parent | e183fd918614dcbecfc10203d660d2607d1f4f27 (diff) | |
download | profani-tty-d1ece21b5f581f39b97262e981a7d68e2a82f0bb.tar.gz |
Complete no arg for /plugins load
-rw-r--r-- | src/command/cmd_ac.c | 2 |
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(); |