summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/src/main.cpp')
-rw-r--r--protocols/Twitter/src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Twitter/src/main.cpp b/protocols/Twitter/src/main.cpp
index 5f84e69c7e..e2c023bada 100644
--- a/protocols/Twitter/src/main.cpp
+++ b/protocols/Twitter/src/main.cpp
@@ -88,8 +88,7 @@ static HANDLE g_hEvents[1];
extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
-
- pcli = reinterpret_cast<CLIST_INTERFACE*>( CallService(MS_CLIST_RETRIEVE_INTERFACE,0,reinterpret_cast<LPARAM>(g_hInstance)));
+ mir_getCLI();
PROTOCOLDESCRIPTOR pd = {sizeof(pd)};
pd.szName = "Twitter";