diff options
Diffstat (limited to 'plugins/MirOTR')
-rw-r--r-- | plugins/MirOTR/MirOTR/dllmain.cpp | 6 | ||||
-rw-r--r-- | plugins/MirOTR/MirOTR/dllmain.h | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/plugins/MirOTR/MirOTR/dllmain.cpp b/plugins/MirOTR/MirOTR/dllmain.cpp index dae2e0b959..0e7e818194 100644 --- a/plugins/MirOTR/MirOTR/dllmain.cpp +++ b/plugins/MirOTR/MirOTR/dllmain.cpp @@ -7,7 +7,7 @@ HANDLE hEventWindow;
HINSTANCE hInst;
-PLUGINLINK *pluginLink;
+
int hLangpack;
char* g_metaproto;
@@ -129,10 +129,10 @@ int NewContact(WPARAM wParam, LPARAM lParam) { return 0;
}
-DLLFUNC int Load(PLUGINLINK *link)
+DLLFUNC int Load(void)
{
DEBUGOUT_T("LOAD MIROTR")
- pluginLink=link;
+
mir_getLP( &pluginInfo );
/* for timezones
mir_getTMI(&tmi); */
diff --git a/plugins/MirOTR/MirOTR/dllmain.h b/plugins/MirOTR/MirOTR/dllmain.h index 7a99b0580a..b2346859f6 100644 --- a/plugins/MirOTR/MirOTR/dllmain.h +++ b/plugins/MirOTR/MirOTR/dllmain.h @@ -6,4 +6,3 @@ #define DLLFUNC extern "C" __declspec(dllexport)
extern HINSTANCE hInst;
-extern PLUGINLINK *pluginLink;
\ No newline at end of file |