summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 00:51:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 00:51:57 +0300
commita362a157418e2cb1b3e16877e8d6eefa0b47dc76 (patch)
tree11d8e20ae83006fddc6858408693658c94866f14 /plugins/MirLua
parent0c21e190d6638fb25d9dc111585be7d23fb572ba (diff)
plugin info must be filled
Diffstat (limited to 'plugins/MirLua')
-rw-r--r--plugins/MirLua/src/environment.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/MirLua/src/environment.cpp b/plugins/MirLua/src/environment.cpp
index e0a5689296..ca04746b44 100644
--- a/plugins/MirLua/src/environment.cpp
+++ b/plugins/MirLua/src/environment.cpp
@@ -2,8 +2,10 @@
#define MT_ENVIRONMENT "ENVIRONMENT"
-CMLuaEnvironment::CMLuaEnvironment(lua_State *L)
- : CMPluginBase(nullptr, *(PLUGININFOEX*)nullptr), L(L)
+extern PLUGININFOEX pluginInfoEx;
+
+CMLuaEnvironment::CMLuaEnvironment(lua_State*)
+ : CMPluginBase(nullptr, pluginInfoEx)
{
MUUID muidLast = MIID_LAST;
m_hLang = GetPluginLangId(muidLast, 0);