summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/ICQ-WIM/src/proto.cpp8
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();