diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-10 20:25:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-10 20:25:14 +0000 |
commit | e0541caf997ee59ed3d06485001476fcca429f86 (patch) | |
tree | f38a912ad271c7199c3bb386bc8f850e5d3d588b /protocols/MSN/src/msn_svcs.cpp | |
parent | 1b8c910296597f394c0996017cfe4095fb55568d (diff) |
protocol DB helpers for MSN
git-svn-id: http://svn.miranda-ng.org/main/trunk@5319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_svcs.cpp')
-rw-r--r-- | protocols/MSN/src/msn_svcs.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/MSN/src/msn_svcs.cpp b/protocols/MSN/src/msn_svcs.cpp index 40dc63464f..4b4a0b3170 100644 --- a/protocols/MSN/src/msn_svcs.cpp +++ b/protocols/MSN/src/msn_svcs.cpp @@ -122,7 +122,7 @@ INT_PTR CMsnProto::GetAvatarInfo(WPARAM wParam,LPARAM lParam) WORD wStatus = getWord(AI->hContact, "Status", ID_STATUS_OFFLINE);
if (wStatus == ID_STATUS_OFFLINE) {
- deleteSetting(AI->hContact, "AvatarHash");
+ delSetting(AI->hContact, "AvatarHash");
PROTO_AVATAR_INFORMATIONT* fakeAI = new PROTO_AVATAR_INFORMATIONT;
*fakeAI = *AI;
ForkThread(&CMsnProto::sttFakeAvatarAck, fakeAI);
@@ -190,8 +190,8 @@ INT_PTR CMsnProto::SetAvatar(WPARAM wParam, LPARAM lParam) if (szFileName == NULL)
{
- deleteSetting(NULL, "PictObject");
- deleteSetting(NULL, "AvatarHash");
+ delSetting("PictObject");
+ delSetting("AvatarHash");
ForkThread(&CMsnProto::msn_storeAvatarThread, NULL);
}
else
@@ -353,7 +353,7 @@ INT_PTR CMsnProto::SetCurrentMedia(WPARAM wParam, LPARAM lParam) // Set user text
if (msnCurrentMedia.cbSize == 0)
- deleteSetting(NULL, "ListeningTo");
+ delSetting("ListeningTo");
else
{
TCHAR *text;
|