diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lua_state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua_state.c b/src/lua_state.c index e440ea0..a60fb7f 100644 --- a/src/lua_state.c +++ b/src/lua_state.c @@ -263,7 +263,7 @@ bool target_loop_install(lua_State *L, const char* lua_file, const char *target) ); } } - lua_pop(L, 1); + lua_pop(L, 2); return true; } @@ -299,10 +299,10 @@ bool target_loop_uninstall(lua_State *L, const char *lua_file, const char *targe "%s %s: 'targets.%s.uninstall' failed: %s\n", print_error, lua_file, target, lua_tostring(L, -1) ); - lua_pop(L, 1); + lua_pop(L, 2); return false; } - lua_pop(L, 1); + lua_pop(L, 2); return true; } |
