summaryrefslogtreecommitdiff
path: root/plugins/FirstRun/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FirstRun/main.cpp')
-rw-r--r--plugins/FirstRun/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/FirstRun/main.cpp b/plugins/FirstRun/main.cpp
index d67807d8f4..d11d1da31f 100644
--- a/plugins/FirstRun/main.cpp
+++ b/plugins/FirstRun/main.cpp
@@ -1,7 +1,7 @@
#include "commonheaders.h"
HINSTANCE hInst;
-PLUGINLINK *pluginLink;
+
HANDLE hModulesLoaded;
int hLangpack;
@@ -51,9 +51,9 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda
return &pluginInfo;
}
-extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
+extern "C" __declspec(dllexport) int Load(void)
{
- pluginLink=link;
+
mir_getLP(&pluginInfo);
hModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED,ModulesLoaded);
return 0;