summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/StartupStatus/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusPlugins/StartupStatus/main.cpp')
-rw-r--r--plugins/StatusPlugins/StartupStatus/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/StatusPlugins/StartupStatus/main.cpp b/plugins/StatusPlugins/StartupStatus/main.cpp
index 9765482835..4c60b198ae 100644
--- a/plugins/StatusPlugins/StartupStatus/main.cpp
+++ b/plugins/StatusPlugins/StartupStatus/main.cpp
@@ -31,6 +31,7 @@ static HANDLE
HINSTANCE hInst;
int hLangpack = 0;
+CLIST_INTERFACE* pcli;
int CSModuleLoaded( WPARAM, LPARAM );
@@ -74,6 +75,7 @@ static INT_PTR SrvGetProfile( WPARAM wParam, LPARAM lParam )
extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP( &pluginInfoEx );
+ pcli = (CLIST_INTERFACE*)CallService( MS_CLIST_RETRIEVE_INTERFACE, 0, 0);
if ( DBGetContactSettingByte(NULL, MODULENAME, SETTING_SETPROFILE, 1) ||
DBGetContactSettingByte(NULL, MODULENAME, SETTING_OFFLINECLOSE, 0))