diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-27 18:31:17 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-27 18:31:17 +0300 |
commit | 69c525336f25083947d9f246de16fb83f73ce9d8 (patch) | |
tree | 8d051cbb06adce004173d1b3a69377b483c1c401 /main.cpp | |
parent | 1f4c1f489f05bb135c8df93d40db9bb624be969d (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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } } |