diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-06-23 13:01:49 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-06-23 13:01:49 +0000 |
commit | 50b6a5ca2c5652fdf4e5fab69d9918c0f633cfb5 (patch) | |
tree | 47d14db48369b7aac927ab77189ec842f4ef9373 /plugins/MirLua/src/mlua_script_loader.cpp | |
parent | 1406bb2d649a561151ea9c44f2a3da54704d3ff7 (diff) |
MirLua: reworked m_core and CMLuaScript
git-svn-id: http://svn.miranda-ng.org/main/trunk@17023 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_script_loader.cpp')
-rw-r--r-- | plugins/MirLua/src/mlua_script_loader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/mlua_script_loader.cpp b/plugins/MirLua/src/mlua_script_loader.cpp index ddecbad547..f68f00096a 100644 --- a/plugins/MirLua/src/mlua_script_loader.cpp +++ b/plugins/MirLua/src/mlua_script_loader.cpp @@ -10,7 +10,7 @@ void CMLuaScriptLoader::LoadScript(const TCHAR *scriptDir, const TCHAR *file) mir_sntprintf(fullPath, _T("%s\\%s"), scriptDir, file);
PathToRelativeT(fullPath, path);
- CMLuaScript *script = new CMLuaScript(L, path);
+ CMLuaScript *script = new CMLuaScript(path);
g_mLua->Scripts.insert(script);
if (db_get_b(NULL, MODULE, _T2A(file), 1) == FALSE)
@@ -19,7 +19,7 @@ void CMLuaScriptLoader::LoadScript(const TCHAR *scriptDir, const TCHAR *file) return;
}
- if (script->Load())
+ if (script->Load(L))
Log(_T("%s:OK"), path);
}
|