summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/mlua.cpp')
-rw-r--r--plugins/MirLua/src/mlua.cpp4
1 files changed, 1 insertions, 3 deletions
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;