summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_account.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-06-21 07:50:13 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-06-21 07:50:13 +0000
commit39599842d91d490fe82ae8f97ea17e91859b2556 (patch)
treec0117f4b0719ad7062ea18700b847815e51f7a95 /protocols/Skype/src/skype_account.cpp
parentb54895860556bc5573d5579f7d02787f8be87ace (diff)
fixed contacts status change popups when you goes offline
git-svn-id: http://svn.miranda-ng.org/main/trunk@5074 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_account.cpp')
-rw-r--r--protocols/Skype/src/skype_account.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/protocols/Skype/src/skype_account.cpp b/protocols/Skype/src/skype_account.cpp
index f6b91dd8f4..ca4f38b4ac 100644
--- a/protocols/Skype/src/skype_account.cpp
+++ b/protocols/Skype/src/skype_account.cpp
@@ -129,12 +129,6 @@ void CSkypeProto::LogOut()
this->account->SetAvailability(Contact::OFFLINE);
this->Log(L"Logout from account");
this->account->Logout(true);
-
- if ( !::Miranda_Terminated())
- {
- this->SetAllContactStatus(ID_STATUS_OFFLINE);
- this->CloseAllChatSessions();
- }
}
}
@@ -166,7 +160,7 @@ void CSkypeProto::InitProxy()
NETLIBUSERSETTINGS nlus = { sizeof(NETLIBUSERSETTINGS) };
::CallService(MS_NETLIB_GETUSERSETTINGS, (WPARAM)this->hNetLibUser, (LPARAM)&nlus);
- if (nlus.useProxy)
+ if (nlus.useProxy)
{
char address[MAX_PATH];
::mir_snprintf(address, MAX_PATH, "%s:%d", nlus.szProxyServer, nlus.wProxyPort);
@@ -197,7 +191,7 @@ void CSkypeProto::InitProxy()
{
this->SetStr(SETUPKEY_SOCKS_PROXY_USER, nlus.szProxyAuthUser);
ptrA encodedPass(::mir_base64_encode((BYTE*)nlus.szProxyAuthPassword, ::lstrlenA(nlus.szProxyAuthPassword)));
- this->SetStr(SETUPKEY_SOCKS_PROXY_PWD, (char*)encodedPass);
+ this->SetStr(SETUPKEY_SOCKS_PROXY_PWD, (char*)encodedPass);
}
break;