diff options
Diffstat (limited to 'src/plugins/plugin-script.c')
-rw-r--r-- | src/plugins/plugin-script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/plugin-script.c b/src/plugins/plugin-script.c index 620ddba6d..4a2bc98d3 100644 --- a/src/plugins/plugin-script.c +++ b/src/plugins/plugin-script.c @@ -928,7 +928,7 @@ plugin_script_remove (struct t_weechat_plugin *weechat_plugin, plugin_script_remove_configs (weechat_plugin, script); /* remove all hooks created by this script */ - weechat_unhook_all_plugin (script->name); + weechat_unhook_all (script->name); /* free data */ if (script->filename) |