From 1949517360bffdb5fa747f3ed5f4ec4e78c14905 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 10 Jul 2013 20:22:55 +0000 Subject: protocol DB helpers for ICQ git-svn-id: http://svn.miranda-ng.org/main/trunk@5317 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/icq_servlist.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/IcqOscarJ/src/icq_servlist.cpp') diff --git a/protocols/IcqOscarJ/src/icq_servlist.cpp b/protocols/IcqOscarJ/src/icq_servlist.cpp index ee23a072c5..f76e1b3f72 100644 --- a/protocols/IcqOscarJ/src/icq_servlist.cpp +++ b/protocols/IcqOscarJ/src/icq_servlist.cpp @@ -1068,7 +1068,7 @@ void CIcqProto::StoreServerIDs() /// TODO: allow delayed if (pUnhandled) setSettingBlob(NULL, DBSETTING_SERVLIST_UNHANDLED, pUnhandled, cbUnhandled); else - db_unset(NULL, m_szModuleName, DBSETTING_SERVLIST_UNHANDLED); + delSetting(DBSETTING_SERVLIST_UNHANDLED); SAFE_FREE((void**)&pUnhandled); } @@ -2611,9 +2611,9 @@ void CIcqProto::resetServContactAuthState(HANDLE hContact, DWORD dwUin) void *doubleObject = NULL; icq_sendServerContact(hContact, dwCookie, ICQ_LISTS_REMOVEFROMLIST, wGroupId, wContactId, SSO_CONTACT_FIXAUTH | SSOF_BEGIN_OPERATION | SSOF_END_OPERATION, 200, &doubleObject); - db_unset(hContact, m_szModuleName, DBSETTING_METAINFO_TOKEN); - db_unset(hContact, m_szModuleName, DBSETTING_METAINFO_TIME); - db_unset(hContact, m_szModuleName, DBSETTING_SERVLIST_DATA); + delSetting(hContact, DBSETTING_METAINFO_TOKEN); + delSetting(hContact, DBSETTING_METAINFO_TIME); + delSetting(hContact, DBSETTING_SERVLIST_DATA); icq_sendServerContact(hContact, dwCookie, ICQ_LISTS_ADDTOLIST, wGroupId, wContactId, SSO_CONTACT_FIXAUTH | SSOF_BEGIN_OPERATION | SSOF_END_OPERATION, 200, &doubleObject); } } -- cgit v1.2.3