summaryrefslogtreecommitdiff
path: root/protocols/MSN
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-08-13 11:39:01 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-08-13 11:39:01 +0300
commit985c61c624c7304783266c9f79e602f26f2887fd (patch)
treed564daacf70417f2756137b6b86a3ee33025090e /protocols/MSN
parent23f1148da6fd87d759b69d6f3865384672f78974 (diff)
useless checks removed
Diffstat (limited to 'protocols/MSN')
-rw-r--r--protocols/MSN/src/msn_contact.cpp3
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);