From c7181615b01d42717df5a4cc557995fe8970e555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 4 Apr 2014 14:27:04 +0000 Subject: Partial adopttion of VypressChat and WinPopup plugins git-svn-id: http://svn.miranda-ng.org/main/trunk@8849 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/!NotAdopted/WinPopup/src/chat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/!NotAdopted/WinPopup/src/chat.cpp') 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 -- cgit v1.2.3