From 69c525336f25083947d9f246de16fb83f73ce9d8 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Wed, 27 Oct 2010 18:31:17 +0300 Subject: working on autoexchange, reworking prescense, other fings, trying to avoid db usage, using memory for temporary data instead --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index df6bee9..d2d1984 100644 --- a/main.cpp +++ b/main.cpp @@ -1529,14 +1529,14 @@ void InitCheck() ShowFirstRunDialog(); } extern bool bAutoExchange; - if(bAutoExchange && (ServiceExists(PS_ICQ_ADDCAPABILITY))) + if(bAutoExchange && (ServiceExists("ICQ"PS_ICQ_ADDCAPABILITY))) //work only for one icq instance { ICQ_CUSTOMCAP cap; cap.cbSize = sizeof(ICQ_CUSTOMCAP); cap.hIcon = 0; strcpy(cap.name, "GPG Key AutoExchange"); strcpy(cap.caps, "GPG AutoExchange"); - CallService(PS_ICQ_ADDCAPABILITY, 0, (LPARAM)&cap); + CallService("ICQ"PS_ICQ_ADDCAPABILITY, 0, (LPARAM)&cap); } } -- cgit v1.2.3