summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/init.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-04 19:54:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-04 19:54:17 +0000
commit21bc5f8f834fd4cf2b961264c2f258f6f3dd09e3 (patch)
tree595833a1765327090d80a6276d7ad02ce934540c /protocols/IcqOscarJ/src/init.cpp
parente32deeef116280a7646a5acca0eb2eb57dc0e776 (diff)
replacement for the old clist interface code
git-svn-id: http://svn.miranda-ng.org/main/trunk@2192 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/init.cpp')
-rw-r--r--protocols/IcqOscarJ/src/init.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/IcqOscarJ/src/init.cpp b/protocols/IcqOscarJ/src/init.cpp
index ab4bae973a..b2bf2bbc7e 100644
--- a/protocols/IcqOscarJ/src/init.cpp
+++ b/protocols/IcqOscarJ/src/init.cpp
@@ -32,6 +32,7 @@
HINSTANCE hInst;
int hLangpack;
+CLIST_INTERFACE *pcli;
IcqIconHandle hStaticIcons[4];
HANDLE hExtraXStatus;
@@ -85,6 +86,8 @@ extern "C" int __declspec(dllexport) Load(void)
srand(time(NULL));
_tzset();
+ pcli = (CLIST_INTERFACE*)CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, (LPARAM)hInst);
+
// Register the module
PROTOCOLDESCRIPTOR pd = {0};
pd.cbSize = sizeof(pd);