about summary refs log tree commit diff stats
path: root/src/command/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-04-12 23:25:31 +0100
committerJames Booth <boothj5@gmail.com>2016-04-12 23:25:31 +0100
commit46687aecedc73bab2d4954ef7969616c0477298b (patch)
tree1be6672381a30878c8375a6dafb04da2e1d355fc /src/command/command.c
parent1a73aa39cbd7462ed098952d7d78d5f63c9e92d2 (diff)
downloadprofani-tty-46687aecedc73bab2d4954ef7969616c0477298b.tar.gz
Only complete unloaded plugins on /plugins load
Diffstat (limited to 'src/command/command.c')
-rw-r--r--src/command/command.c2
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);