summaryrefslogtreecommitdiff
path: root/lib/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lua')
-rw-r--r--lib/lua/src/LuaLib/ldirlib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lua/src/LuaLib/ldirlib.c b/lib/lua/src/LuaLib/ldirlib.c
index 8997eb6..d12f1ab 100644
--- a/lib/lua/src/LuaLib/ldirlib.c
+++ b/lib/lua/src/LuaLib/ldirlib.c
@@ -104,5 +104,7 @@ int luaopen_dir (lua_State *L) {
lua_pushnumber(L, 2);
lua_setglobal(L, "FLAG_FILE");
+ lua_pop(L, 1);
+
return 0;
}