From 34c0b8e8dba1e82842f61eb4ccc2b9ab2696695a Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Tue, 23 Jun 2015 09:26:59 +0000 Subject: MirLua: console should not terminate miranda process git-svn-id: http://svn.miranda-ng.org/main/trunk@14347 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/mlua_script_loader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/MirLua/src/mlua_script_loader.h') diff --git a/plugins/MirLua/src/mlua_script_loader.h b/plugins/MirLua/src/mlua_script_loader.h index c2f64a36b8..16980bfdc9 100644 --- a/plugins/MirLua/src/mlua_script_loader.h +++ b/plugins/MirLua/src/mlua_script_loader.h @@ -7,7 +7,7 @@ private: lua_State *L; HANDLE hLogger; - CLuaScriptLoader(lua_State *L); + CLuaScriptLoader(lua_State *L, HANDLE hLogger); void RegisterScriptsFolder(const char *path); @@ -15,7 +15,7 @@ private: void LoadScripts(const TCHAR *scriptDir); public: - static void Load(lua_State *L); + static void Load(lua_State *L, HANDLE hLogger = NULL); }; #endif //_LUA_SCRIPT_LOADER_H_ \ No newline at end of file -- cgit v1.2.3