diff options
author | George Hazan <ghazan@miranda.im> | 2019-08-13 11:39:01 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-08-13 11:39:01 +0300 |
commit | 985c61c624c7304783266c9f79e602f26f2887fd (patch) | |
tree | d564daacf70417f2756137b6b86a3ee33025090e /protocols/MSN | |
parent | 23f1148da6fd87d759b69d6f3865384672f78974 (diff) |
useless checks removed
Diffstat (limited to 'protocols/MSN')
-rw-r--r-- | protocols/MSN/src/msn_contact.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_contact.cpp b/protocols/MSN/src/msn_contact.cpp index 39bdbd1ac2..61e1cbb5fb 100644 --- a/protocols/MSN/src/msn_contact.cpp +++ b/protocols/MSN/src/msn_contact.cpp @@ -38,7 +38,8 @@ MCONTACT CMsnProto::MSN_HContactFromEmail(const char* wlid, const char* msnNick, int netId = (msc && msc->netId)?msc->netId:(szNet?atoi(szNet):NETID_MSN);
hContact = db_add_contact();
Proto_AddToContact(hContact, m_szModuleName);
- if (netId != NETID_SKYPE) setString(hContact, "e-mail", szEmail);
+ if (netId != NETID_SKYPE)
+ setString(hContact, "e-mail", szEmail);
setStringUtf(hContact, "Nick", msnNick ? msnNick : szEmail);
setWord(hContact, "netId", netId);
setString(hContact, "wlid", szEmail);
|