summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_groupchat.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_groupchat.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_groupchat.cpp')
-rw-r--r--protocols/JabberG/src/jabber_groupchat.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/JabberG/src/jabber_groupchat.cpp b/protocols/JabberG/src/jabber_groupchat.cpp
index 099e6eb7e3..f671e163c6 100644
--- a/protocols/JabberG/src/jabber_groupchat.cpp
+++ b/protocols/JabberG/src/jabber_groupchat.cpp
@@ -127,8 +127,8 @@ struct JabberGcRecentInfo
mir_snprintf(setting, sizeof(setting), "rcMuc_%d_nick", iRecent);
nick = ppro->getTStringA(setting);
- mir_snprintf(setting, sizeof(setting), "rcMuc_%d_passwordW", iRecent);
- password = ppro->JGetStringCrypt(NULL, setting);
+ mir_snprintf(setting, sizeof(setting), "password_rcMuc_%d", iRecent);
+ password = ppro->getTStringA(NULL, setting);
return room || server || nick || password;
}
@@ -155,9 +155,9 @@ struct JabberGcRecentInfo
else
ppro->delSetting(setting);
- mir_snprintf(setting, sizeof(setting), "rcMuc_%d_passwordW", iRecent);
+ mir_snprintf(setting, sizeof(setting), "password_rcMuc_%d", iRecent);
if (password)
- ppro->JSetStringCrypt(NULL, setting, password);
+ ppro->setTString(setting, password);
else
ppro->delSetting(setting);
}
@@ -194,7 +194,7 @@ INT_PTR __cdecl CJabberProto::OnJoinChat(WPARAM wParam, LPARAM)
if ((nick = getTStringA("Nick")) == NULL)
return 0;
- ptrT password( JGetStringCrypt(hContact, "LoginPassword"));
+ ptrT password(getTStringA(hContact, "Password"));
if (getWord(hContact, "Status", 0) != ID_STATUS_ONLINE) {
TCHAR *p = _tcschr(jid, '@');