diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-28 14:09:32 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-28 14:09:32 +0300 |
commit | e69e24524436a1ce013bf461f87924f57ed075fb (patch) | |
tree | b01caa296efc073512cf1f092eac1a15bc851250 /plugins/MirLua/src/environment.cpp | |
parent | e06a3bd4b50fd001f4d0d49c10a0c4b988c563a0 (diff) |
core changes:
- added methods CMPluginBase::Load & CMPluginBase::Unload
- duplicated data removed from BASIC_PLUGIN_INFO and replaced with data from CMPluginBase;
- code cleaning
Diffstat (limited to 'plugins/MirLua/src/environment.cpp')
-rw-r--r-- | plugins/MirLua/src/environment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/environment.cpp b/plugins/MirLua/src/environment.cpp index 3127edee82..321eace843 100644 --- a/plugins/MirLua/src/environment.cpp +++ b/plugins/MirLua/src/environment.cpp @@ -138,7 +138,7 @@ void CMLuaEnvironment::CreateEnvironmentTable() lua_setmetatable(L, -2); } -bool CMLuaEnvironment::Load() +int CMLuaEnvironment::Load() { luaL_checktype(L, -1, LUA_TFUNCTION); |