From 1c6b8b1f06d26f3ac4db17d6eb203538ba358057 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Mon, 13 Jun 2016 18:22:20 +0000 Subject: MirLua: break backward compatibility - removed BLOB metatable - m_database's blob now used simple lua table - removed deprecated functions from m_core - added PROTORECVEVENT metatable - added GCDEST metatable - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@16968 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/mlua.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/MirLua/src/mlua.cpp') diff --git a/plugins/MirLua/src/mlua.cpp b/plugins/MirLua/src/mlua.cpp index d1f7811bdc..2c67f32f3e 100644 --- a/plugins/MirLua/src/mlua.cpp +++ b/plugins/MirLua/src/mlua.cpp @@ -67,8 +67,6 @@ void CMLua::Load() lua_setfield(L, -2, "interpolate"); lua_pop(L, 3); - luaopen_m_utils(L); - lua_atpanic(L, luaM_atpanic); Log("Loading miranda modules"); @@ -83,7 +81,7 @@ void CMLua::Unload() while (int last = Scripts.getCount()) { - CMLuaScript* script = g_mLua->Scripts[last - 1]; + CMLuaScript *script = g_mLua->Scripts[last - 1]; Scripts.remove(script); script->Unload(); delete script; -- cgit v1.2.3