diff options
Diffstat (limited to 'protocols/MRA/Mra.cpp')
-rw-r--r-- | protocols/MRA/Mra.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/protocols/MRA/Mra.cpp b/protocols/MRA/Mra.cpp index 0cf1e55d46..4b476ed62f 100644 --- a/protocols/MRA/Mra.cpp +++ b/protocols/MRA/Mra.cpp @@ -1,6 +1,6 @@ #include "Mra.h"
-PLUGINLINK *pluginLink;
+
MRA_SETTINGS masMraSettings;
int hLangpack;
@@ -62,7 +62,7 @@ extern "C" MRA_API const MUUID* MirandaPluginInterfaces() }
-extern "C" MRA_API int Load(PLUGINLINK *link)
+extern "C" MRA_API int Load(void)
{
SIZE_T dwBuffLen;
WCHAR szBuff[MAX_FILEPATH];
@@ -70,8 +70,9 @@ extern "C" MRA_API int Load(PLUGINLINK *link) LPWSTR lpwszFileName;
PROTOCOLDESCRIPTOR pd={0};
- pluginLink=link;
- mir_getLP(&pluginInfoEx);
+
+ mir_getLP(&pluginInfoEx);
+
// Get module name from DLL file name
if (GetModuleFileName(masMraSettings.hInstance,szBuff,MAX_FILEPATH))
|