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_srv.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_srv.cpp')
-rw-r--r-- | protocols/MSN/src/msn_srv.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/MSN/src/msn_srv.cpp b/protocols/MSN/src/msn_srv.cpp index a3fc024b1b..5e92edd0f9 100644 --- a/protocols/MSN/src/msn_srv.cpp +++ b/protocols/MSN/src/msn_srv.cpp @@ -81,7 +81,7 @@ void CMsnProto::MSN_DeleteServerGroup(LPCSTR szId) if (!getStaticString(msc->hContact, "GroupID", szGroupID, sizeof(szGroupID)))
{
if (strcmp(szGroupID, szId) == 0)
- deleteSetting(msc->hContact, "GroupID");
+ delSetting(msc->hContact, "GroupID");
}
}
MSN_DeleteGroup(szId);
@@ -171,7 +171,7 @@ void CMsnProto::MSN_MoveContactToGroup(HANDLE hContact, const char* grpName) if (bDelete)
{
MSN_ABAddDelContactGroup(szContactID, szGroupID, "ABGroupContactDelete");
- deleteSetting(hContact, "GroupID");
+ delSetting(hContact, "GroupID");
}
if (bInsert)
@@ -307,7 +307,7 @@ void CMsnProto::MSN_SyncContactToServerGroup(HANDLE hContact, const char* szCont {
if (szGrpName[0])
db_unset(hContact, "CList", "Group");
- deleteSetting(hContact, "GroupID");
+ delSetting(hContact, "GroupID");
}
}
@@ -319,7 +319,7 @@ void CMsnProto::MSN_SendNicknameUtf(const char* nickname) if (nickname[0])
setStringUtf(NULL, "Nick", nickname);
else
- deleteSetting(NULL, "Nick");
+ delSetting("Nick");
MSN_SetNicknameUtf(nickname[0] ? nickname : MyOptions.szEmail);
|