From 7339bc08a765b87b0140e350a05fcf0d22a57722 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Apr 2013 16:14:47 +0000 Subject: 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 --- protocols/Omegle/src/main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'protocols/Omegle/src') diff --git a/protocols/Omegle/src/main.cpp b/protocols/Omegle/src/main.cpp index 6c8d5e20ba..04d22d4711 100644 --- a/protocols/Omegle/src/main.cpp +++ b/protocols/Omegle/src/main.cpp @@ -91,11 +91,8 @@ static HANDLE g_hEvents[1]; extern "C" int __declspec(dllexport) Load(void) { - mir_getLP(&pluginInfo); - - pcli = reinterpret_cast( CallService( - MS_CLIST_RETRIEVE_INTERFACE,0,reinterpret_cast(g_hInstance))); + mir_getCLI(); PROTOCOLDESCRIPTOR pd = { sizeof(pd) }; pd.szName = "Omegle"; -- cgit v1.2.3