summaryrefslogtreecommitdiff
path: root/plugins/Rate/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Rate/main.cpp')
-rw-r--r--plugins/Rate/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Rate/main.cpp b/plugins/Rate/main.cpp
index 9810378eca..d3b4e767ca 100644
--- a/plugins/Rate/main.cpp
+++ b/plugins/Rate/main.cpp
@@ -54,6 +54,7 @@ IconExtraColumn g_IECRateLow = {0};
IconExtraColumn g_IECClear = {0};
int clistIcon = 0; //Icon slot to use
byte bRate = 0;
+int hLangpack;
extern int onOptInitialise(WPARAM wParam, LPARAM lParam);
@@ -268,7 +269,8 @@ int onContactSettingChanged(WPARAM wParam,LPARAM lParam)
extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
{
- pluginLink=link;
+ pluginLink=link;
+ mir_getLP(&pluginInfoEx);
hHookModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, onModulesLoaded);
hSystemOKToExit = HookEvent(ME_SYSTEM_OKTOEXIT,onSystemOKToExit);