mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 07:06:20 +00:00
WIP - Unload plugin commands
This commit is contained in:
@@ -702,6 +702,7 @@ cmd_ac_init(void)
|
||||
|
||||
plugins_ac = autocomplete_new();
|
||||
autocomplete_add(plugins_ac, "load");
|
||||
autocomplete_add(plugins_ac, "unload");
|
||||
|
||||
sendfile_ac = autocomplete_new();
|
||||
|
||||
@@ -784,6 +785,14 @@ cmd_ac_remove(const char *const value)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
cmd_ac_remove_help(const char *const value)
|
||||
{
|
||||
if (help_ac) {
|
||||
autocomplete_remove(help_ac, value);
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
cmd_ac_exists(char *cmd)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user