summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-07 16:14:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-07 16:14:47 +0000
commit7339bc08a765b87b0140e350a05fcf0d22a57722 (patch)
treed3031f91d458a14cf4e24fe461c8e143c0f18cc9 /protocols/Gadu-Gadu
parentfa23da25513fa2d056413cadb51ae3fadc3b5e5d (diff)
mir_getCLI() - a helper for MS_CLIST_RETRIEVE_INTERFACE, just call it without parameters
git-svn-id: http://svn.miranda-ng.org/main/trunk@4368 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu')
-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;
}