diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-10 20:22:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-10 20:22:55 +0000 |
commit | 1949517360bffdb5fa747f3ed5f4ec4e78c14905 (patch) | |
tree | 3a3408a063d21e3484bb92390600378cd4e0fe2f /protocols/IcqOscarJ/src/icqosc_svcs.cpp | |
parent | b7639142c91c6fa38285fdc6de661a0b36d41fbe (diff) |
protocol DB helpers for ICQ
git-svn-id: http://svn.miranda-ng.org/main/trunk@5317 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icqosc_svcs.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/icqosc_svcs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/icqosc_svcs.cpp b/protocols/IcqOscarJ/src/icqosc_svcs.cpp index 1bb0b08f11..40d6503022 100644 --- a/protocols/IcqOscarJ/src/icqosc_svcs.cpp +++ b/protocols/IcqOscarJ/src/icqosc_svcs.cpp @@ -476,7 +476,7 @@ INT_PTR CIcqProto::GrantAuthorization(WPARAM wParam, LPARAM lParam) // send without reason, do we need any ?
icq_sendGrantAuthServ(dwUin, szUid, NULL);
// auth granted, remove contact menu item
- db_unset((HANDLE)wParam, m_szModuleName, "Grant");
+ delSetting((HANDLE)wParam, "Grant");
}
return 0;
@@ -607,7 +607,7 @@ INT_PTR CIcqProto::SetMyAvatar(WPARAM wParam, LPARAM lParam) }
else
{ // delete user avatar
- db_unset(NULL, m_szModuleName, "AvatarFile");
+ delSetting("AvatarFile");
setSettingBlob(NULL, "AvatarHash", hashEmptyAvatar, 9);
updateServAvatarHash(hashEmptyAvatar, 9); // set blank avatar
iRet = 0;
|