summaryrefslogtreecommitdiff
path: root/plugins/RecentContacts/RecentContacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/RecentContacts/RecentContacts.cpp')
-rw-r--r--plugins/RecentContacts/RecentContacts.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/RecentContacts/RecentContacts.cpp b/plugins/RecentContacts/RecentContacts.cpp
index 08bd2d5566..ccea08b33b 100644
--- a/plugins/RecentContacts/RecentContacts.cpp
+++ b/plugins/RecentContacts/RecentContacts.cpp
@@ -8,7 +8,6 @@ static const basic_string <char>::size_type npos = -1;
char *szProto;
HINSTANCE hInst = NULL;
-PLUGINLINK *pluginLink = NULL;
int hLangpack = 0;
@@ -634,10 +633,11 @@ INT_PTR ToggleIgnore (WPARAM wParam, LPARAM lParam)
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
+extern "C" __declspec(dllexport) int Load(void)
{
- pluginLink = link;
- mir_getLP( &pluginInfo );
+
+ mir_getLP( &pluginInfo );
+
CoInitialize(NULL);
hWindowList = (HANDLE)CallService(MS_UTILS_ALLOCWINDOWLIST, 0, 0);