From 5c9429642824d3f6c9d23bd43164b5f538bb87f9 Mon Sep 17 00:00:00 2001 From: ElzorFox Date: Sat, 14 Oct 2017 17:36:58 +0500 Subject: VKontakte: crash fix --- protocols/VKontakte/src/vk_feed.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'protocols/VKontakte/src/vk_feed.cpp') 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 &vkUsers) { debugLogA("CVkProto::GetVkUserInfo %d", iUserId); - if (iUserId == 0) - return nullptr; bool bIsGroup = (iUserId < 0); CVkUserInfo *vkUser = vkUsers.find((CVkUserInfo *)&iUserId); -- cgit v1.2.3