summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-10-25 16:47:14 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-10-25 16:47:14 +0000
commit65cff4ae81430b018315b2fb328a6a593f68e508 (patch)
tree268480f622fcafb5c00074cf12679103777ba629 /protocols
parentb2e29d4d5ad48ccfd9071f96eb84572145a1fce1 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2070 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Skype/src/skype_menus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_menus.cpp b/protocols/Skype/src/skype_menus.cpp
index 7887bf9054..3ef76141ca 100644
--- a/protocols/Skype/src/skype_menus.cpp
+++ b/protocols/Skype/src/skype_menus.cpp
@@ -31,7 +31,7 @@ int CSkypeProto::OnPrebuildContactMenu(WPARAM wParam, LPARAM)
if (hContact == NULL)
return 0;
- if (this->IsOnline() && !::DBGetContactSettingByte(hContact, m_szModuleName, "ChatRoom", 0))
+ if (this->IsOnline() && !this->GetSettingByte(hContact, "ChatRoom"))
{
bool ctrlPressed = (GetKeyState(VK_CONTROL) & 0x8000) != 0;
@@ -69,7 +69,7 @@ INT_PTR GlobalService(WPARAM wParam, LPARAM lParam)
int CSkypeProto::RequestAuth(WPARAM wParam, LPARAM lParam)
{
// todo: set default auth request
- this->AuthRequest((HANDLE)wParam, LPGENT(""));
+ return this->AuthRequest((HANDLE)wParam, LPGENT(""));
}
int CSkypeProto::GrantAuth(WPARAM wParam, LPARAM lParam)