summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_options.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-07 06:18:27 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-07 06:18:27 +0000
commit2604dd1a9f41a7485c87f0edc64dfe5fa1df81ba (patch)
tree184a3417e8266c9f9d3ac91f71e585b4965af003 /protocols/SkypeWeb/src/skype_options.cpp
parente9c637c2943418ad7f98a7d4e3fb89406f4ac06d (diff)
SkypeWeb: fix auth request duplication
git-svn-id: http://svn.miranda-ng.org/main/trunk@14851 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_options.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_options.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_options.cpp b/protocols/SkypeWeb/src/skype_options.cpp
index dc408ca9e8..c78dd53aed 100644
--- a/protocols/SkypeWeb/src/skype_options.cpp
+++ b/protocols/SkypeWeb/src/skype_options.cpp
@@ -42,7 +42,7 @@ void CSkypeOptionsMain::OnInitDialog()
CSkypeDlgBase::OnInitDialog();
m_skypename.SetTextA(ptrA(m_proto->getStringA(SKYPE_SETTINGS_ID)));
- m_password.SetTextA(ptrA(m_proto->getStringA("Password")));
+ m_password.SetTextA(pass_ptrA(m_proto->getStringA("Password")));
m_place.Enable(!m_proto->getBool("UseHostName", false));
SendMessage(m_skypename.GetHwnd(), EM_LIMITTEXT, 32, 0);
SendMessage(m_password.GetHwnd(), EM_LIMITTEXT, 128, 0);
@@ -56,7 +56,6 @@ void CSkypeOptionsMain::OnApply()
szOldSkypename(m_proto->getStringA(SKYPE_SETTINGS_ID));
pass_ptrA szNewPassword(m_password.GetTextA()),
szOldPassword(m_proto->getStringA("Password"));
-
if (mir_strcmpi(szNewSkypename, szOldSkypename) || mir_strcmp(szNewPassword, szOldPassword))
m_proto->delSetting("TokenExpiresIn");
m_proto->setString(SKYPE_SETTINGS_ID, szNewSkypename);