From 7f7123189d45797ae8d2cb09fdda4cceeebec747 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Thu, 8 Oct 2015 19:33:15 +0000 Subject: VKontakte: minor fix git-svn-id: http://svn.miranda-ng.org/main/trunk@15519 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols') 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 -- cgit v1.2.3