summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_pollserver.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-06-26 07:37:59 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-06-26 07:37:59 +0000
commitdeb05176bf259030db8d5f8ff7c68b5feb325770 (patch)
treed00388dd336d7ee56e3d60e45dcc218de489299e /protocols/VKontakte/src/vk_pollserver.cpp
parent3a548ab7449b7c6f444eb7e626636914926380fa (diff)
VKontakte: code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14391 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_pollserver.cpp')
-rw-r--r--protocols/VKontakte/src/vk_pollserver.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/VKontakte/src/vk_pollserver.cpp b/protocols/VKontakte/src/vk_pollserver.cpp
index d867a059e3..dd1b4d22db 100644
--- a/protocols/VKontakte/src/vk_pollserver.cpp
+++ b/protocols/VKontakte/src/vk_pollserver.cpp
@@ -99,9 +99,8 @@ void CVkProto::PollUpdates(const JSONNode &jnUpdates)
// skip outgoing messages sent from a client
flags = jnChild[2].as_int();
- if (flags & VKFLAG_MSGOUTBOX && !(flags & VKFLAG_MSGCHAT))
- if (CheckMid(m_sendIds, msgid))
- break;
+ if (flags & VKFLAG_MSGOUTBOX && !(flags & VKFLAG_MSGCHAT) && CheckMid(m_sendIds, msgid))
+ break;
if (!mids.IsEmpty())
mids.AppendChar(',');