From a90a4275934b9b3c5889b3fbf3fb312a83714ede Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Nov 2013 21:44:15 +0000 Subject: password converter for Jabber git-svn-id: http://svn.miranda-ng.org/main/trunk@6944 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src/jabber_thread.cpp') 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"); -- cgit v1.2.3