diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_thread.cpp | 4 |
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");
|