summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_script_loader.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2016-06-24 17:43:57 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2016-06-24 17:43:57 +0000
commitee37779cc2bdb12315b962af3df2501fdcc68089 (patch)
treeacffa7bb1c61394af0deadc7382a3780af0263ad /plugins/MirLua/src/mlua_script_loader.cpp
parent1664b4b774a97119c71a334916778d8ee2883fba (diff)
temporary revert
git-svn-id: http://svn.miranda-ng.org/main/trunk@17032 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_script_loader.cpp')
-rw-r--r--plugins/MirLua/src/mlua_script_loader.cpp4
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 f68f00096a..ddecbad547 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(path);
+ CMLuaScript *script = new CMLuaScript(L, 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(L))
+ if (script->Load())
Log(_T("%s:OK"), path);
}