summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_script.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-06-16 07:22:55 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-06-16 07:22:55 +0000
commit7d0a69bb237e015049c2fe8d26d9ad1a0b24cc89 (patch)
treefc7020863a0fe76b49bfe83913fb208c71c315e6 /plugins/MirLua/src/mlua_script.cpp
parent4958934c982cada1dc6b4abe17a7e53fde114632 (diff)
MirLua: module returned back
git-svn-id: http://svn.miranda-ng.org/main/trunk@16987 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_script.cpp')
-rw-r--r--plugins/MirLua/src/mlua_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/mlua_script.cpp b/plugins/MirLua/src/mlua_script.cpp
index 9676f36192..6c92c354d8 100644
--- a/plugins/MirLua/src/mlua_script.cpp
+++ b/plugins/MirLua/src/mlua_script.cpp
@@ -3,7 +3,7 @@
#define SCRIPT "Script"
CMLuaScript::CMLuaScript(lua_State *L, const TCHAR *path)
- : L(L), status(None), unloadRef(0)
+ : L(L), status(None), unloadRef(LUA_NOREF)
{
mir_tstrcpy(filePath, path);