summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_script.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-12-31 16:39:13 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-12-31 16:39:13 +0000
commitec3799465bc97a61ad3291875abf39f10fb1bebd (patch)
tree266a9dbb6a1bcc45aeb9fcea8b8647ad150c9ecf /plugins/MirLua/src/mlua_script.cpp
parent9c34f77ebf742ae0d13df3e43581fe86e0d85d5e (diff)
MirLua: fixed script loading
git-svn-id: http://svn.miranda-ng.org/main/trunk@15978 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 3ddbbd8a15..8eae3b4239 100644
--- a/plugins/MirLua/src/mlua_script.cpp
+++ b/plugins/MirLua/src/mlua_script.cpp
@@ -42,7 +42,7 @@ bool CMLuaScript::Load()
return false;
}
- if (luaM_pcall(L))
+ if (luaM_pcall(L, 0, 1))
return false;
isLoaded = true;