diff options
Diffstat (limited to 'plugins/MirLua/src/mlua_menus.cpp')
-rw-r--r-- | plugins/MirLua/src/mlua_menus.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/mlua_menus.cpp b/plugins/MirLua/src/mlua_menus.cpp index d3078fc5b3..e59bc33a0f 100644 --- a/plugins/MirLua/src/mlua_menus.cpp +++ b/plugins/MirLua/src/mlua_menus.cpp @@ -51,8 +51,6 @@ static luaL_Reg menusLib[] = int luaopen_m_menus(lua_State *L)
{
- //luaL_newlib(L, CMLua::clistLib);
-
lua_getglobal(L, "M");
luaL_checktype(L, -1, LUA_TTABLE);
@@ -60,5 +58,7 @@ int luaopen_m_menus(lua_State *L) luaL_setfuncs(L, menusLib, 0);
lua_setfield(L, -2, "Menus");
+ lua_pop(L, 1);
+
return 1;
}
|