diff options
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); } } |