summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-11-19 21:44:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-11-19 21:44:15 +0000
commita90a4275934b9b3c5889b3fbf3fb312a83714ede (patch)
treed5df88983626f23a235dc4169c910a5480269b25 /protocols/JabberG/src/jabber_thread.cpp
parent60802648ddc84982418db8d8eb8ec40fa385a8ae (diff)
password converter for Jabber
git-svn-id: http://svn.miranda-ng.org/main/trunk@6944 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r--protocols/JabberG/src/jabber_thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 97962bbb13..1e4d068847 100644
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -98,7 +98,7 @@ static INT_PTR CALLBACK JabberPasswordDlgProc(HWND hwndDlg, UINT msg, WPARAM wPa
BOOL savePassword = IsDlgButtonChecked(hwndDlg, IDC_SAVE_PERM);
param->pro->setByte("SavePassword", savePassword);
if (savePassword) {
- param->pro->JSetStringCrypt(NULL,"LoginPassword",param->onlinePassword);
+ param->pro->setTString("Password", param->onlinePassword);
param->saveOnlinePassword = TRUE;
}
}
@@ -347,7 +347,7 @@ LBL_FatalError:
}
}
else {
- TCHAR *passw = JGetStringCrypt(NULL, "LoginPassword");
+ TCHAR *passw = getTStringA(NULL, "Password");
if (passw == NULL) {
JLoginFailed(LOGINERR_BADUSERID);
debugLogA("Thread ended, password is not configured");