summaryrefslogtreecommitdiff
path: root/protocols/Skype/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src')
-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)