From e0541caf997ee59ed3d06485001476fcca429f86 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 10 Jul 2013 20:25:14 +0000 Subject: protocol DB helpers for MSN git-svn-id: http://svn.miranda-ng.org/main/trunk@5319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_srv.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/MSN/src/msn_srv.cpp') 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); -- cgit v1.2.3