diff options
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 9dc10e69ee..3f38487f2c 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -624,7 +624,7 @@ int CVkProto::Authorize(HANDLE hDbEvent) if (!IsOnline())
return 1;
MCONTACT hContact = MContactFromDbEvent(hDbEvent);
- if (hContact == -1)
+ if (hContact == INVALID_CONTACT_ID)
return 1;
return AuthRequest(hContact, NULL);
@@ -636,7 +636,7 @@ int CVkProto::AuthDeny(HANDLE hDbEvent, const PROTOCHAR *reason) if (!IsOnline())
return 1;
MCONTACT hContact = MContactFromDbEvent(hDbEvent);
- if (hContact == -1)
+ if (hContact == INVALID_CONTACT_ID)
return 1;
return SvcDeleteFriend(hContact,(LPARAM)true);
|