diff options
-rw-r--r-- | protocols/SkypeWeb/src/skype_login.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_login.cpp b/protocols/SkypeWeb/src/skype_login.cpp index 0c48c1f541..d003c4ee71 100644 --- a/protocols/SkypeWeb/src/skype_login.cpp +++ b/protocols/SkypeWeb/src/skype_login.cpp @@ -143,7 +143,7 @@ void CSkypeProto::OnEndpointCreated(NETLIBHTTPREQUEST *response, AsyncHttpReques case 401: // unauthorized
if (auto *szStatus = Netlib_GetHeader(response, "StatusText"))
- if (!strstr(szStatus, "SkypeTokenExpired"))
+ if (strstr(szStatus, "SkypeTokenExpired"))
delSetting("TokenSecret");
delSetting("TokenExpiresIn");
PushRequest(new LoginOAuthRequest(m_szSkypename, pass_ptrA(getStringA(SKYPE_SETTINGS_PASSWORD))));
|