Comparison

util/xmppstream.lua @ 3444:e6a78e15fed2

util.xmppstream: Removed some useless property assignments.
author Waqas Hussain <waqas20@gmail.com>
date Tue, 03 Aug 2010 20:05:58 +0500
parent 3424:9e0df614e5d0
child 3540:bc139431830b
comparison
equal deleted inserted replaced
3443:1159e007cc8f 3444:e6a78e15fed2
93 cb_error(session, "invalid-top-level-element"); 93 cb_error(session, "invalid-top-level-element");
94 end 94 end
95 95
96 stanza = st.stanza(name, attr); 96 stanza = st.stanza(name, attr);
97 else -- we are inside a stanza, so add a tag 97 else -- we are inside a stanza, so add a tag
98 attr.xmlns = nil;
99 if curr_ns ~= stream_default_ns then
100 attr.xmlns = curr_ns;
101 end
102 stanza:tag(name, attr); 98 stanza:tag(name, attr);
103 end 99 end
104 end 100 end
105 function xml_handlers:CharacterData(data) 101 function xml_handlers:CharacterData(data)
106 if stanza then 102 if stanza then