diff options
author | aunsane <aunsane@gmail.com> | 2017-09-28 20:16:27 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-09-29 00:38:40 +0300 |
commit | af9c3d7de7e35632d046575b5e4809a04abec816 (patch) | |
tree | d25ed109332d38540d6b044bd4471e4fc2d1b0c5 /plugins/MirLua/src/m_hotkeys.cpp | |
parent | b640e652b54030de26a22f57494fa71561dd4e99 (diff) |
MirLua: added CMLuaEnviroment to execute lua code from extetnal source in sandbox
Diffstat (limited to 'plugins/MirLua/src/m_hotkeys.cpp')
-rw-r--r-- | plugins/MirLua/src/m_hotkeys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_hotkeys.cpp b/plugins/MirLua/src/m_hotkeys.cpp index faf1dbe6d0..6ab3f07625 100644 --- a/plugins/MirLua/src/m_hotkeys.cpp +++ b/plugins/MirLua/src/m_hotkeys.cpp @@ -41,7 +41,7 @@ static int hotkeys_Register(lua_State *L) HOTKEYDESC hk;
MakeHotkey(L, hk);
- int hScriptLangpack = CMLuaScript::GetScriptIdFromEnviroment(L);
+ int hScriptLangpack = CMLuaEnviroment::GetEnviromentId(L);
INT_PTR res = Hotkey_Register(&hk, hScriptLangpack);
lua_pushboolean(L, res);
|