diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-22 17:24:33 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-22 17:24:33 +0300 |
commit | ff6ae8a76d49aa90ff559c7c8be51a30bc24a9cf (patch) | |
tree | d4d146bf984d820a9a8f75ab3a38182d9813b658 /protocols/ICQ-WIM/src | |
parent | 4adb201a9ca951fa17e76c6221bc1df7de1b61cb (diff) |
ICQ-WIN: also we need to remove old e-mail setting after upgrading account
Diffstat (limited to 'protocols/ICQ-WIM/src')
-rw-r--r-- | protocols/ICQ-WIM/src/proto.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp index 2b181dc2e1..d4d8ea7d1d 100644 --- a/protocols/ICQ-WIM/src/proto.cpp +++ b/protocols/ICQ-WIM/src/proto.cpp @@ -106,11 +106,11 @@ void CIcqProto::OnModulesLoaded() delSetting(it, "e-mail"); } else { - CMStringW wszEmail(getMStringW("Email")); - if (wszEmail.IsEmpty()) - wszEmail = getMStringW("e-mail"); - if (!wszEmail.IsEmpty()) + CMStringW wszEmail(getMStringW("e-mail")); + if (!wszEmail.IsEmpty()) { m_szOwnId = wszEmail; + delSetting("e-mail"); + } } InitContactCache(); |