summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/JabberG/jabber_iqid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/jabber_iqid.cpp b/protocols/JabberG/jabber_iqid.cpp
index a4a5d5a5f2..acac62cfdb 100644
--- a/protocols/JabberG/jabber_iqid.cpp
+++ b/protocols/JabberG/jabber_iqid.cpp
@@ -996,11 +996,11 @@ void CJabberProto::OnIqResultGetVcard( HXML iqNode )
hasFax = TRUE;
JSetStringT( hContact, "Fax", xmlGetText( m ));
}
- if ( !hasCell && xmlGetChild( n , "CELL" )!=NULL ) {
+ else if ( !hasCell && xmlGetChild( n , "CELL" )!=NULL ) {
hasCell = TRUE;
JSetStringT( hContact, "Cellular", xmlGetText( m ));
}
- if ( !hasPhone &&
+ else if ( !hasPhone &&
( xmlGetChild( n , "HOME" )!=NULL ||
xmlGetChild( n , "WORK" )!=NULL ||
xmlGetChild( n , "VOICE" )!=NULL ||