summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_feed.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-06-26 03:39:10 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-06-26 03:39:10 +0000
commit3a548ab7449b7c6f444eb7e626636914926380fa (patch)
tree60db91f3258bb353c1695d4d41e68b432c7a2898 /protocols/VKontakte/src/vk_feed.cpp
parentbe489c4e6f4c1ab4b4d7f84e35a73e34e1b0b331 (diff)
VKontakte: simplify code
git-svn-id: http://svn.miranda-ng.org/main/trunk@14390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_feed.cpp')
-rw-r--r--protocols/VKontakte/src/vk_feed.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_feed.cpp b/protocols/VKontakte/src/vk_feed.cpp
index 9a4f12b219..b403a15c2e 100644
--- a/protocols/VKontakte/src/vk_feed.cpp
+++ b/protocols/VKontakte/src/vk_feed.cpp
@@ -24,7 +24,7 @@ void CVkProto::AddFeedSpecialUser()
MCONTACT hContact = FindUser(VK_FEED_USER);
if (!bSpecialContact) {
if (hContact)
- CallService(MS_DB_CONTACT_DELETE, (WPARAM)hContact, 0);
+ CallService(MS_DB_CONTACT_DELETE, (WPARAM)hContact);
return;
}
@@ -40,7 +40,7 @@ void CVkProto::AddFeedSpecialUser()
setTString(hContact, "Homepage", _T("https://vk.com/feed"));
}
- if (getWord(hContact, "Status", 0) != ID_STATUS_ONLINE)
+ if (getWord(hContact, "Status") != ID_STATUS_ONLINE)
setWord(hContact, "Status", ID_STATUS_ONLINE);
SetMirVer(hContact, 7);