about summary refs log tree commit diff stats
path: root/src/plugins/api.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-05 21:46:36 +0100
committerJames Booth <boothj5@gmail.com>2016-07-05 21:46:36 +0100
commit71178b3696cceae72c93d2e904ae41a811dec87d (patch)
tree4640007204d07e2cac8de011f5c20d8ecee2da27 /src/plugins/api.c
parentfd218ac3e443650a7b310d4f8cde758f08c0ed8c (diff)
downloadprofani-tty-71178b3696cceae72c93d2e904ae41a811dec87d.tar.gz
Store plugin completers by plugin name
Diffstat (limited to 'src/plugins/api.c')
-rw-r--r--src/plugins/api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/api.c b/src/plugins/api.c
index ecd1749e..c8e6a166 100644
--- a/src/plugins/api.c
+++ b/src/plugins/api.c
@@ -163,19 +163,19 @@ api_register_timed(const char *const plugin_name, void *callback, int interval_s
 void
 api_completer_add(const char *const plugin_name, const char *key, char **items)
 {
-    autocompleters_add(key, items);
+    autocompleters_add(plugin_name, key, items);
 }
 
 void
 api_completer_remove(const char *const plugin_name, const char *key, char **items)
 {
-    autocompleters_remove(key, items);
+    autocompleters_remove(plugin_name, key, items);
 }
 
 void
 api_completer_clear(const char *const plugin_name, const char *key)
 {
-    autocompleters_clear(key);
+    autocompleters_clear(plugin_name, key);
 }
 
 void