diff options
author | James Booth <boothj5@gmail.com> | 2016-04-12 23:25:31 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-04-12 23:25:31 +0100 |
commit | 46687aecedc73bab2d4954ef7969616c0477298b (patch) | |
tree | 1be6672381a30878c8375a6dafb04da2e1d355fc /src/command/command.c | |
parent | 1a73aa39cbd7462ed098952d7d78d5f63c9e92d2 (diff) | |
download | profani-tty-46687aecedc73bab2d4954ef7969616c0477298b.tar.gz |
Only complete unloaded plugins on /plugins load
Diffstat (limited to 'src/command/command.c')
-rw-r--r-- | src/command/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/command.c b/src/command/command.c index 67bd8d43..fa9b2de7 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -3761,7 +3761,7 @@ _plugins_autocomplete(ProfWin *window, const char *const input) if ((strncmp(input, "/plugins load ", 14) == 0) && (strlen(input) > 14)) { if (plugins_load_ac == NULL) { plugins_load_ac = autocomplete_new(); - GSList *plugins = plugins_file_list(); + GSList *plugins = plugins_unloaded_list(); GSList *curr = plugins; while (curr) { autocomplete_add(plugins_load_ac, curr->data); |