diff options
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index c9a36f42d6..0457b460c4 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -100,8 +100,10 @@ bool CVkProto::CheckJsonResult(AsyncHttpRequest *pReq, NETLIBHTTPREQUEST *reply, ConnectionFailed(LOGINERR_WRONGPASSWORD);
else if (iErrorCode == 14) // captcha
ApplyCaptcha(pReq, pError);
- else if (iErrorCode == 6) // Too many requests per second
+ else if (iErrorCode == 6) {// Too many requests per second
pReq->bNeedsRestart = true;
+ Sleep(330); //Pause for fix err 6
+ }
return iErrorCode == 0;
}
|