summaryrefslogtreecommitdiff
path: root/plugins/Gender/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Gender/main.cpp')
-rw-r--r--plugins/Gender/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Gender/main.cpp b/plugins/Gender/main.cpp
index 8b3d9b9bb5..b764902812 100644
--- a/plugins/Gender/main.cpp
+++ b/plugins/Gender/main.cpp
@@ -45,6 +45,7 @@ byte bDrawNoGenderIcon = 0; // enable icon when no info?
byte bContactMenuItems = 1; // do we need a contact menu items?
byte bMetaAvail = 0; // metacontacts installed?
int hLangpack;
+struct MM_INTERFACE mmi;
extern int onOptInitialise(WPARAM wParam, LPARAM lParam);
@@ -446,7 +447,8 @@ int onSystemOKToExit(WPARAM wParam,LPARAM lParam)
extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
- mir_getLP(&pluginInfoEx);
+ mir_getLP(&pluginInfo);
+ mir_getMMI(&mmi);
hHookModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, onModulesLoaded);
hSystemOKToExit = HookEvent(ME_SYSTEM_OKTOEXIT,onSystemOKToExit);