From e29fd4d0ead4353ff2e03fcd793400d8e0779481 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 7 Nov 2015 18:42:19 +0000 Subject: MirLua: added metatables wrapper git-svn-id: http://svn.miranda-ng.org/main/trunk@15697 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/mlua_script.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'plugins/MirLua/src/mlua_script.cpp') diff --git a/plugins/MirLua/src/mlua_script.cpp b/plugins/MirLua/src/mlua_script.cpp index 7ac927deaf..f2deb2ff27 100644 --- a/plugins/MirLua/src/mlua_script.cpp +++ b/plugins/MirLua/src/mlua_script.cpp @@ -1,12 +1,10 @@ #include "stdafx.h" -CMLuaScript::CMLuaScript(lua_State *L, const TCHAR* path, int iGroup) +CMLuaScript::CMLuaScript(lua_State *L, const TCHAR* path) : L(L), unloadRef(0) { mir_tstrcpy(filePath, path); - group = iGroup; - fileName = _tcsrchr(filePath, '\\') + 1; size_t length = mir_tstrlen(fileName) - 3; @@ -36,11 +34,6 @@ const TCHAR* CMLuaScript::GetFileName() const return fileName; } -const int CMLuaScript::GetGroup() const -{ - return group; -} - bool CMLuaScript::Load() { if (luaL_loadfile(L, T2Utf(filePath))) -- cgit v1.2.3