summaryrefslogtreecommitdiff
path: root/src/plugins/plugin.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-02-28 00:14:38 +0100
committerSébastien Helleu <flashcode@flashtux.org>2019-02-28 20:19:18 +0100
commit80b980b2af71faa9a2d825c61a5d41d7ace0dc60 (patch)
tree64056a5a5fb428869b62c6c0309155c67acbc432 /src/plugins/plugin.c
parent64043d5a6c4ca258c40a8c39d0f58fc4a16c86b9 (diff)
downloadweechat-80b980b2af71faa9a2d825c61a5d41d7ace0dc60.zip
api: add function command_options (issue #928)
Diffstat (limited to 'src/plugins/plugin.c')
-rw-r--r--src/plugins/plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index dd04d1a7d..6ed45e602 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -828,6 +828,7 @@ plugin_load (const char *filename, int init_plugin, int argc, char **argv)
new_plugin->bar_remove = &gui_bar_free;
new_plugin->command = &plugin_api_command;
+ new_plugin->command_options = &plugin_api_command_options;
new_plugin->network_pass_proxy = &network_pass_proxy;
new_plugin->network_connect_to = &network_connect_to;