diff options
author | George Hazan <george.hazan@gmail.com> | 2013-11-19 21:44:15 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-11-19 21:44:15 +0000 |
commit | a90a4275934b9b3c5889b3fbf3fb312a83714ede (patch) | |
tree | d5df88983626f23a235dc4169c910a5480269b25 /protocols/JabberG/src/jabber_proto.cpp | |
parent | 60802648ddc84982418db8d8eb8ec40fa385a8ae (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_proto.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_proto.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 6830a578f6..79e5cf523d 100644 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -156,12 +156,6 @@ CJabberProto::CJabberProto(const char *aProtoName, const TCHAR *aUserName) : if ((m_tszSelectedLang = getTStringA("XmlLang")) == NULL)
m_tszSelectedLang = mir_tstrdup(_T("en"));
-
- ptrA szPassword( getStringA("Password"));
- if (szPassword != NULL) {
- JSetStringCrypt(NULL, "LoginPassword", _A2T(szPassword));
- delSetting("Password");
- }
}
CJabberProto::~CJabberProto()
@@ -264,6 +258,7 @@ int CJabberProto::OnModulesLoadedEx(WPARAM, LPARAM) HookProtoEvent(ME_IDLE_CHANGED, &CJabberProto::OnIdleChanged);
CheckAllContactsAreTransported();
+ ConvertPasswords();
// Set all contacts to offline
for (HANDLE hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) {
|