summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/AdvancedAutoAway/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-25 21:12:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-25 21:12:45 +0000
commite89a8f4030443506d4f40d1a3bc6a8cec65531e7 (patch)
treec4883aaa7ad171ae556bceb47323310137efce38 /plugins/StatusPlugins/AdvancedAutoAway/main.cpp
parent3873ba081f6ef7c725170a469abdd975ab801e03 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2501 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusPlugins/AdvancedAutoAway/main.cpp')
-rw-r--r--plugins/StatusPlugins/AdvancedAutoAway/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp
index 4cd6e31f4d..bc74f42fc5 100644
--- a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp
+++ b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp
@@ -28,6 +28,7 @@
#define MIID_ADVAUTOAWAY { 0xf0fdf73a, 0x753d, 0x499d, { 0x8d, 0xba, 0x33, 0x6d, 0xb7, 0x9c, 0xdd, 0x41 } }
HINSTANCE hInst, hCore = NULL;
+CLIST_INTERFACE *pcli;
HANDLE hCSModuleLoadedHook;
HANDLE hStateChangedEvent;
@@ -74,6 +75,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda
extern "C" __declspec(dllexport) int Load(void)
{
mir_getLP( &pluginInfoEx );
+ pcli = (CLIST_INTERFACE*)CallService( MS_CLIST_RETRIEVE_INTERFACE, 0, 0);
autoAwaySettings = new OBJLIST<TAAAProtoSetting>(10, CompareSettings);