summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_login.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-30 18:35:31 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-30 18:35:31 +0000
commit440c4d7f69584eb52720c44a388efff358d41282 (patch)
tree1aaed56a0796ddf18faf66aef265394a03d2551d /protocols/SkypeWeb/src/skype_login.cpp
parent6c7009f33e7f04ab3e9438fc43bb844caa8c225a (diff)
SkypeWeb: Login fix(?).
git-svn-id: http://svn.miranda-ng.org/main/trunk@13298 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_login.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_login.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_login.cpp b/protocols/SkypeWeb/src/skype_login.cpp
index b7fc362995..21c1ed02e8 100644
--- a/protocols/SkypeWeb/src/skype_login.cpp
+++ b/protocols/SkypeWeb/src/skype_login.cpp
@@ -107,7 +107,7 @@ void CSkypeProto::OnLoginSuccess()
{
SelfSkypeName = getStringA(SKYPE_SETTINGS_ID);
TokenSecret = getStringA("TokenSecret");
- Server = getStringA("Server");
+ Server = getStringA("Server") != NULL ? getStringA("Server") : SKYPE_ENDPOINTS_HOST;
SendRequest(new CreateEndpointRequest(TokenSecret, Server), &CSkypeProto::OnEndpointCreated);
SendRequest(new CreateTrouterRequest(), &CSkypeProto::OnCreateTrouter);
PushRequest(new GetProfileRequest(TokenSecret), &CSkypeProto::LoadProfile);