summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/src')
-rw-r--r--protocols/Gadu-Gadu/src/gg.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/src/gg.cpp b/protocols/Gadu-Gadu/src/gg.cpp
index 74ba0ef628..1fb4216fc4 100644
--- a/protocols/Gadu-Gadu/src/gg.cpp
+++ b/protocols/Gadu-Gadu/src/gg.cpp
@@ -355,8 +355,7 @@ extern "C" int __declspec(dllexport) Load(void)
{
mir_getXI(&xi);
mir_getLP(&pluginInfo);
-
- pcli = (CLIST_INTERFACE*)CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, (LPARAM)hInstance);
+ mir_getCLI();
// Hook system events
hHookModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, gg_modulesloaded);
@@ -375,7 +374,6 @@ extern "C" int __declspec(dllexport) Load(void)
// Instance list
g_Instances = NULL;
-
return 0;
}