diff options
Diffstat (limited to 'plugins/Scriver/src/chat/manager.cpp')
| -rw-r--r-- | plugins/Scriver/src/chat/manager.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Scriver/src/chat/manager.cpp b/plugins/Scriver/src/chat/manager.cpp index 28eb7e91ff..5d1ef90de1 100644 --- a/plugins/Scriver/src/chat/manager.cpp +++ b/plugins/Scriver/src/chat/manager.cpp @@ -121,7 +121,7 @@ int SM_RemoveSession(const TCHAR* pszID, const char* pszModule, BOOL removeConta  			}
  			DBWriteContactSettingString(pTemp->windowData.hContact, pTemp->pszModule , "Topic", "");
  			DBWriteContactSettingString(pTemp->windowData.hContact, pTemp->pszModule, "StatusBar", "");
 -			DBDeleteContactSetting(pTemp->windowData.hContact, "CList", "StatusMsg");
 +			db_unset(pTemp->windowData.hContact, "CList", "StatusMsg");
  			if (removeContact)
  				CallService(MS_DB_CONTACT_DELETE, (WPARAM)pTemp->windowData.hContact, 0);
 @@ -585,7 +585,7 @@ BOOL SM_SetStatus(const TCHAR* pszID, const char* pszModule, int wStatus)  			if ( pTemp->windowData.hContact ) {
  				if ( pTemp->iType != GCW_SERVER && wStatus != ID_STATUS_OFFLINE )
 -						DBDeleteContactSetting(pTemp->windowData.hContact, "CList", "Hidden");
 +						db_unset(pTemp->windowData.hContact, "CList", "Hidden");
  				db_set_w(pTemp->windowData.hContact, pTemp->pszModule, "Status", (WORD)wStatus);
  			}
 @@ -682,7 +682,7 @@ BOOL SM_RemoveAll (void)  		if (m_WndList->windowData.hContact)
  			CList_SetOffline(m_WndList->windowData.hContact, m_WndList->iType == GCW_CHATROOM?TRUE:FALSE);
  		DBWriteContactSettingString(m_WndList->windowData.hContact, m_WndList->pszModule , "Topic", "");
 -		DBDeleteContactSetting(m_WndList->windowData.hContact, "CList", "StatusMsg");
 +		db_unset(m_WndList->windowData.hContact, "CList", "StatusMsg");
  		DBWriteContactSettingString(m_WndList->windowData.hContact, m_WndList->pszModule, "StatusBar", "");
  		UM_RemoveAll(&m_WndList->pUsers);
  | 
