From 940231dc5a484b03a278900e1880aa083472b601 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 9 Apr 2013 19:43:20 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@4402 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_events.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Skype/src/skype_events.cpp') diff --git a/protocols/Skype/src/skype_events.cpp b/protocols/Skype/src/skype_events.cpp index ac29ab59e9..195b4b4696 100644 --- a/protocols/Skype/src/skype_events.cpp +++ b/protocols/Skype/src/skype_events.cpp @@ -35,7 +35,7 @@ int CSkypeProto::OnContactDeleted(WPARAM wParam, LPARAM lParam) { if (this->IsChatRoom(hContact)) { - char *chatID = ::DBGetString(hContact, this->m_szModuleName, "ChatRoomID"); + char *chatID = ::db_get_sa(hContact, this->m_szModuleName, "ChatRoomID"); this->LeaveChat(chatID); CConversation::Ref conversation; @@ -89,7 +89,7 @@ void CSkypeProto::OnMessageSended(CConversation::Ref conversation, CMessage::Ref //this->SendChatMessage(cid, sid, ::mir_utf8decodeA(text)); - char *nick = (char *)::DBGetString(NULL, this->m_szModuleName, "Nick"); + char *nick = (char *)::db_get_sa(NULL, this->m_szModuleName, "Nick"); if (::stricmp(nick, "") == 0) { nick = sid; @@ -336,7 +336,7 @@ void CSkypeProto::OnMessage(CConversation::Ref conversation, CMessage::Ref messa char *cid = ::mir_strdup(data); HANDLE hContact = this->GetChatRoomByID(cid); - if ( !hContact || ::DBGetContactSettingWord(hContact, this->m_szModuleName, "Status", ID_STATUS_OFFLINE) == ID_STATUS_OFFLINE) + if ( !hContact || ::db_get_w(hContact, this->m_szModuleName, "Status", ID_STATUS_OFFLINE) == ID_STATUS_OFFLINE) { SEStringList empty; this->StartChat(cid, empty); -- cgit v1.2.3