diff --git a/src/lua_hooklib.c b/src/lua_hooklib.c index 9f4fa4c88cf41752f8236be7ed2e8afde7f4ce45..a8d49db7ef2a32ffd511a870239ac2de7e212b89 100644 --- a/src/lua_hooklib.c +++ b/src/lua_hooklib.c @@ -851,7 +851,7 @@ void LUA_HookNetArchive(lua_CFunction archFunc) init_hook_call(&hook, 1, 0, res_none); call_mapped(&hook, map); - lua_pop(gL, 2); // pop hook table and archFunc + lua_pop(gL, 1); // pop archFunc lua_remove(gL, EINDEX); // pop error handler // stack: tables }