diff options
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index d894506ed6..1510b5feea 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -111,7 +111,9 @@ LBL_NoForm: return;
}
- if ( strstr(reply->pData, ptrA( mir_utf8encodecp("неверный логин или пароль", 1251)))) {
+ if ( strstr(reply->pData, "Invalid login or password") ||
+ strstr(reply->pData, ptrA( mir_utf8encodecp("неверный логин или пароль", 1251))))
+ {
ConnectionFailed(LOGINERR_WRONGPASSWORD);
return;
}
|