summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2017-10-14 17:36:58 +0500
committerElzorFox <elzorfox@ya.ru>2017-10-14 17:36:58 +0500
commit5c9429642824d3f6c9d23bd43164b5f538bb87f9 (patch)
treebd120f953d7ec0c5e5d2014ed338ec3b7e9ac9ad
parent9b99466b95de4d2666911fd622ff2a5005367516 (diff)
VKontakte: crash fix
-rw-r--r--protocols/VKontakte/src/vk_feed.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_feed.cpp b/protocols/VKontakte/src/vk_feed.cpp
index ac0d732d46..3228b8c829 100644
--- a/protocols/VKontakte/src/vk_feed.cpp
+++ b/protocols/VKontakte/src/vk_feed.cpp
@@ -95,8 +95,6 @@ void CVkProto::AddCListEvent(bool bNews)
CVkUserInfo* CVkProto::GetVkUserInfo(LONG iUserId, OBJLIST<CVkUserInfo> &vkUsers)
{
debugLogA("CVkProto::GetVkUserInfo %d", iUserId);
- if (iUserId == 0)
- return nullptr;
bool bIsGroup = (iUserId < 0);
CVkUserInfo *vkUser = vkUsers.find((CVkUserInfo *)&iUserId);