From 0efcfb0a8ab0678b037f5a2c2b8aced354f51166 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Tue, 3 Aug 2010 20:05:58 +0500 Subject: util.xmppstream: Removed some useless property assignments. --- util/xmppstream.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'util/xmppstream.lua') diff --git a/util/xmppstream.lua b/util/xmppstream.lua index aa2eb0ed..d22c923b 100644 --- a/util/xmppstream.lua +++ b/util/xmppstream.lua @@ -95,10 +95,6 @@ function new_sax_handlers(session, stream_callbacks) stanza = st.stanza(name, attr); else -- we are inside a stanza, so add a tag - attr.xmlns = nil; - if curr_ns ~= stream_default_ns then - attr.xmlns = curr_ns; - end stanza:tag(name, attr); end end -- cgit v1.2.3