summaryrefslogtreecommitdiff
path: root/plugins/Autorun/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Autorun/main.c')
-rw-r--r--plugins/Autorun/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Autorun/main.c b/plugins/Autorun/main.c
index c5a498afa1..31eb9790cd 100644
--- a/plugins/Autorun/main.c
+++ b/plugins/Autorun/main.c
@@ -11,6 +11,7 @@
HINSTANCE hInst;
PLUGINLINK *pluginLink;
HANDLE hHookOptionInit = NULL;
+int hLangpack;
PLUGININFOEX pluginInfoEx=
{ // about plugin
@@ -153,6 +154,7 @@ __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
+ mir_getLP(&pluginInfoEx);
hHookOptionInit = HookEvent(ME_OPT_INITIALISE,AutorunOptInitialise);
return 0;
}