diff options
author | ElzorFox <elzorfox@ya.ru> | 2017-01-11 01:18:09 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2017-01-11 01:18:09 +0500 |
commit | 7aed63a94c430094a66006ed459bfb8cbd7ff5f2 (patch) | |
tree | c4df980c9d3522134bfdc8e18700a8c93af8c9c3 /protocols/VKontakte/src/vk_proto.cpp | |
parent | 83402fe2934d403c8d3a436baed5261cd315dc85 (diff) |
Revert "VKontakte: no more write to db if oldValue == newValue"
This reverts commit 77cccf9d4b13d9fad437eaf6361cec016a4ce27c.
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index f8dec80402..94bef34949 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -73,7 +73,7 @@ CVkProto::CVkProto(const char *szModuleName, const wchar_t *pwszUserName) : Clist_GroupCreate(NULL, m_vkOptions.pwszDefaultGroup);
CMStringA szListeningTo(FORMAT, "%sEnabled", m_szModuleName);
- DBSetByte(NULL, "ListeningTo", szListeningTo, m_vkOptions.iMusicSendMetod == 0 ? 0 : 1);
+ db_set_b(NULL, "ListeningTo", szListeningTo, m_vkOptions.iMusicSendMetod == 0 ? 0 : 1);
delSetting("InviteGroupIds");
|