summaryrefslogtreecommitdiff
path: root/src/plugins/lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua')
-rw-r--r--src/plugins/lua/weechat-lua-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/weechat-lua-api.c b/src/plugins/lua/weechat-lua-api.c
index 1900aed0b..893424034 100644
--- a/src/plugins/lua/weechat-lua-api.c
+++ b/src/plugins/lua/weechat-lua-api.c
@@ -3254,7 +3254,7 @@ API_FUNC(unhook_all)
{
API_INIT_FUNC(1, "unhook_all", API_RETURN_ERROR);
- weechat_unhook_all_plugin (lua_current_script->name);
+ weechat_unhook_all (lua_current_script->name);
API_RETURN_OK;
}