summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/plugin.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-11 21:32:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-11 21:33:11 +0300
commitf719c8b921c7a46b76453476204224d40c682914 (patch)
treec6d92dc450893e7f5abe60c2046ec9c2d1e3db36 /plugins/MirLua/src/plugin.cpp
parent16ad355c8bdc438c3107ee3ba3ad0bf0b8c395fa (diff)
int hLangpack/m_hLang removed and replaced with HPLUGIN
Diffstat (limited to 'plugins/MirLua/src/plugin.cpp')
-rw-r--r--plugins/MirLua/src/plugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirLua/src/plugin.cpp b/plugins/MirLua/src/plugin.cpp
index 02a849b2dd..d8f1864c94 100644
--- a/plugins/MirLua/src/plugin.cpp
+++ b/plugins/MirLua/src/plugin.cpp
@@ -50,10 +50,10 @@ void CMPlugin::UnloadLua()
{
Scripts.destroy();
- KillModuleIcons(g_hMLuaLangpack);
- KillModuleSounds(g_hMLuaLangpack);
- KillModuleMenus(g_hMLuaLangpack);
- KillModuleHotkeys(g_hMLuaLangpack);
+ KillModuleIcons(this);
+ KillModuleSounds(this);
+ KillModuleMenus(this);
+ KillModuleHotkeys(this);
KillObjectEventHooks(lua->L);
KillObjectServices(lua->L);