diff options
author | James Booth <boothj5@gmail.com> | 2016-06-30 22:37:52 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-06-30 22:37:52 +0100 |
commit | 29eb843d56c2c52e9ae13144c93f094821ecff06 (patch) | |
tree | b723d9527204c9f5849fedc2e3f2926f0cf86902 /src/plugins/api.c | |
parent | a01eb5d08e1b39d60a6f8fc26e5a87ceb92ec18f (diff) | |
download | profani-tty-29eb843d56c2c52e9ae13144c93f094821ecff06.tar.gz |
Revert "WIP - Unload plugin commands"
This reverts commit a01eb5d08e1b39d60a6f8fc26e5a87ceb92ec18f.
Diffstat (limited to 'src/plugins/api.c')
-rw-r--r-- | src/plugins/api.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/api.c b/src/plugins/api.c index 90272684..326ec61d 100644 --- a/src/plugins/api.c +++ b/src/plugins/api.c @@ -106,12 +106,11 @@ api_cons_bad_cmd_usage(const char *const cmd) } void -api_register_command(char *plugin_name, char *command_name, int min_args, int max_args, +api_register_command(const char *command_name, int min_args, int max_args, const char **synopsis, const char *description, const char *arguments[][2], const char **examples, void *callback, void(*callback_func)(PluginCommand *command, gchar **args)) { PluginCommand *command = malloc(sizeof(PluginCommand)); - command->plugin_name = plugin_name; command->command_name = command_name; command->min_args = min_args; command->max_args = max_args; |