summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_core.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-07-26 13:03:41 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-07-26 13:03:41 +0000
commitb356c02a32cea58b39c4970ed67cf6ff2a218e00 (patch)
tree577963b67f7f2f92e0e994656c71a553e3d229c1 /plugins/MirLua/src/m_core.cpp
parent4a966be3c32e745b2567e51c27766942f798f77d (diff)
MirLua will remove message bar buttons on script reloading
git-svn-id: http://svn.miranda-ng.org/main/trunk@14725 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_core.cpp')
-rw-r--r--plugins/MirLua/src/m_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_core.cpp b/plugins/MirLua/src/m_core.cpp
index e3972df3d4..91fe4df070 100644
--- a/plugins/MirLua/src/m_core.cpp
+++ b/plugins/MirLua/src/m_core.cpp
@@ -238,7 +238,7 @@ LUAMOD_API int luaopen_m(lua_State *L)
lua_setfield(L, -2, "NULL");
lua_pushlightuserdata(L, INVALID_HANDLE_VALUE);
lua_setfield(L, -2, "INVALID_HANDLE_VALUE");
- lua_setglobal(L, "m");
+ lua_setglobal(L, MLUA_CORE);
return 1;
} \ No newline at end of file