diff options
author | ElzorFox <elzorfox@ya.ru> | 2017-10-14 17:36:58 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2017-10-14 17:36:58 +0500 |
commit | 5c9429642824d3f6c9d23bd43164b5f538bb87f9 (patch) | |
tree | bd120f953d7ec0c5e5d2014ed338ec3b7e9ac9ad /protocols/VKontakte/src/vk_feed.cpp | |
parent | 9b99466b95de4d2666911fd622ff2a5005367516 (diff) |
VKontakte: crash fix
Diffstat (limited to 'protocols/VKontakte/src/vk_feed.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_feed.cpp | 2 |
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);
|