summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-10-27 18:31:17 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-10-27 18:31:17 +0300
commit69c525336f25083947d9f246de16fb83f73ce9d8 (patch)
tree8d051cbb06adce004173d1b3a69377b483c1c401 /main.cpp
parent1f4c1f489f05bb135c8df93d40db9bb624be969d (diff)
working on autoexchange, reworking prescense, other fings, trying to avoid db usage, using memory for temporary data instead
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}
}