summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/KeepStatus/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusPlugins/KeepStatus/main.cpp')
-rw-r--r--plugins/StatusPlugins/KeepStatus/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/StatusPlugins/KeepStatus/main.cpp b/plugins/StatusPlugins/KeepStatus/main.cpp
index 8766d489b3..972b144d5f 100644
--- a/plugins/StatusPlugins/KeepStatus/main.cpp
+++ b/plugins/StatusPlugins/KeepStatus/main.cpp
@@ -30,9 +30,8 @@ HANDLE hCSModuleLoadedHook = NULL;
HANDLE hConnectionEvent = NULL;
HANDLE hStopRecon = NULL, hEnableProto = NULL, hIsProtoEnabled = NULL, hAnnounceStat = NULL;
-
HINSTANCE hInst;
-
+CLIST_INTERFACE *pcli;
/////////////////////////////////////////////////////////////////////////////////////////
// dll entry point
@@ -79,8 +78,8 @@ INT_PTR AnnounceStatusChangeService(WPARAM wParam, LPARAM lParam);
extern "C" int __declspec(dllexport) Load(void)
{
-
mir_getLP( &pluginInfoEx );
+ pcli = (CLIST_INTERFACE*)CallService( MS_CLIST_RETRIEVE_INTERFACE, 0, 0);
InitCommonStatus();