summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r--protocols/JabberG/src/jabber_proto.cpp7
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)) {