summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_chat.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:01:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:01:20 +0000
commit00c866aaa0b79c354f9c71ca5d61f57daeec6e6a (patch)
tree0c17ecc96c52562dbf31454a1908e726be2b5c85 /protocols/Skype/src/skype_chat.cpp
parent343ed18d264ae1b90eda3c64ffb066035997489f (diff)
protocol DB helpers for Skype
git-svn-id: http://svn.miranda-ng.org/main/trunk@5313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_chat.cpp')
-rw-r--r--protocols/Skype/src/skype_chat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_chat.cpp b/protocols/Skype/src/skype_chat.cpp
index d22de3c118..ef9ce957a8 100644
--- a/protocols/Skype/src/skype_chat.cpp
+++ b/protocols/Skype/src/skype_chat.cpp
@@ -1226,7 +1226,7 @@ INT_PTR CALLBACK CSkypeProto::ChatRoomProc(HWND hwndDlg, UINT msg, WPARAM wParam
bool CSkypeProto::IsChatRoom(HANDLE hContact)
{
- return ::db_get_b(hContact, this->m_szModuleName, "ChatRoom", 0) == 1;
+ return this->getByte(hContact, "ChatRoom", 0) == 1;
}
INT_PTR CSkypeProto::CreateChatRoomCommand(WPARAM, LPARAM)
@@ -1515,7 +1515,7 @@ int __cdecl CSkypeProto::OnGCMenuHook(WPARAM, LPARAM lParam)
HANDLE hContact = this->GetContactBySid(gcmi->pszUID);
if (hContact == NULL)
DisableChatMenuItem(ICM_DETAILS);
- else if(::db_get_b(hContact, this->m_szModuleName, "Auth", 0) == 0)
+ else if(this->getByte(hContact, "Auth", 0) == 0)
DisableChatMenuItem(ICM_AUTH_REQUEST);
}
else