1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

core: add function "hook_set" in plugin API, add "subplugin" in hooks (set by script plugins), display subplugin in /help on commands (task #12049)

This commit is contained in:
Peter Boström
2012-07-09 15:16:51 +02:00
committed by Sebastien Helleu
parent 92aa9bff45
commit c03fcd5e12
10 changed files with 194 additions and 5 deletions
+1
View File
@@ -654,6 +654,7 @@ plugin_load (const char *filename, int argc, char **argv)
new_plugin->hook_infolist = &hook_infolist;
new_plugin->hook_hdata = &hook_hdata;
new_plugin->hook_focus = &hook_focus;
new_plugin->hook_set = &hook_set;
new_plugin->unhook = &unhook;
new_plugin->unhook_all = &unhook_all_plugin;