comparison mcabber/mcabber/xmpp_muc.c @ 1687:fc67e1c7a5d4

Remove useless fonction call (spotted by isbear)
author Mikael Berthe <mikael@lilotux.net>
date Wed, 03 Feb 2010 06:34:46 +0100
parents 1342df44c814
children b18142457ca9
comparison
equal deleted inserted replaced
1686:393c05fba337 1687:fc67e1c7a5d4
144 // We're trying to enter a room 144 // We're trying to enter a room
145 buddy_setnickname(room_elt->data, nickname); 145 buddy_setnickname(room_elt->data, nickname);
146 } 146 }
147 147
148 // Send the XML request 148 // Send the XML request
149 lm_message_new(roomid, LM_MESSAGE_TYPE_PRESENCE);
150
151 x = lm_message_new_presence(mystatus, roomid, mystatusmsg); 149 x = lm_message_new_presence(mystatus, roomid, mystatusmsg);
152 y = lm_message_node_add_child(x->node, "x", NULL); 150 y = lm_message_node_add_child(x->node, "x", NULL);
153 lm_message_node_set_attribute(y, "xmlns", "http://jabber.org/protocol/muc"); 151 lm_message_node_set_attribute(y, "xmlns", "http://jabber.org/protocol/muc");
154 if (passwd) 152 if (passwd)
155 lm_message_node_add_child(y, "password", passwd); 153 lm_message_node_add_child(y, "password", passwd);