diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-09 19:43:20 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-09 19:43:20 +0000 |
commit | 940231dc5a484b03a278900e1880aa083472b601 (patch) | |
tree | 65c5935e66e1cd86be3ed1f9d5fc41272972962c /protocols/Skype/src/skype_events.cpp | |
parent | 8f20a72a0c38afd3a51be0af25fb5a3361ed99e7 (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@4402 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_events.cpp')
-rw-r--r-- | protocols/Skype/src/skype_events.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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);
|