diff options
| author | Robert Pösel <robyer@seznam.cz> | 2014-04-04 14:27:04 +0000 |
|---|---|---|
| committer | Robert Pösel <robyer@seznam.cz> | 2014-04-04 14:27:04 +0000 |
| commit | c7181615b01d42717df5a4cc557995fe8970e555 (patch) | |
| tree | 829b619062f5630b15701a5faaaf16019b893ae6 /plugins/!NotAdopted/WinPopup/src/chat.cpp | |
| parent | e08dd78ccf05f9d5d768e5436fcfc5e8126356fe (diff) | |
Partial adopttion of VypressChat and WinPopup plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@8849 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/WinPopup/src/chat.cpp')
| -rw-r--r-- | plugins/!NotAdopted/WinPopup/src/chat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/!NotAdopted/WinPopup/src/chat.cpp b/plugins/!NotAdopted/WinPopup/src/chat.cpp index 00ffd10b41..2921366a03 100644 --- a/plugins/!NotAdopted/WinPopup/src/chat.cpp +++ b/plugins/!NotAdopted/WinPopup/src/chat.cpp @@ -313,17 +313,17 @@ CString GetChatSession(HANDLE hContact) {
CString sContact;
DBVARIANT dbv = {};
- if ( ! DBGetContactSettingTString( hContact, modname, "ChatRoomID", &dbv ) )
+ if ( ! db_get_ts( hContact, modname, "ChatRoomID", &dbv ) )
{
sContact = dbv.pszVal;
- DBFreeVariant( &dbv );
+ db_free( &dbv );
}
return sContact;
}
bool IsChatRoom(HANDLE hContact)
{
- return ( DBGetContactSettingByte( hContact, modname, "ChatRoom", 0 ) != 0 );
+ return ( db_get_b( hContact, modname, "ChatRoom", 0 ) != 0 );
}
#endif // CHAT_ENABLED
|
