diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-10-08 19:33:15 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-10-08 19:33:15 +0000 |
commit | 7f7123189d45797ae8d2cb09fdda4cceeebec747 (patch) | |
tree | 214b689001a544ab3af473ddb083aa78945d1ad9 | |
parent | f2c1244ae5e68bca70c4d0ff87e7752981b6d350 (diff) |
VKontakte: minor fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15519 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index d0266a3930..70b1b44394 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -411,8 +411,8 @@ void CVkProto::RetrieveUsersInfo(bool flag) if (flag && !m_bLoadFullCList)
codeformat += CMString("var US=[];var res=[];var t=3;while(t>0){"
"US=API.users.get({\"user_ids\":userIDs,\"fields\":_fields,\"name_case\":\"nom\"});"
- "var index=US.length;var _count=index;"
- "while(index>0){index=index-1;if(US[index].online!=0){res.push(US[index]);};};"
+ "var index=US.length;while(index>0){"
+ "index=index-1;if(US[index].online!=0){res.push(US[index]);};};"
"t=t-1;if(res.length>0)t=0;};"
"return{\"freeoffline\":1,\"users\":res,\"requests\":API.friends.getRequests({\"extended\":0,\"need_mutual\":0,\"out\":0})};");
else
|