aboutsummaryrefslogtreecommitdiffstats
path: root/util/xmppstream.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-08-03 20:05:58 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-08-03 20:05:58 +0500
commit0efcfb0a8ab0678b037f5a2c2b8aced354f51166 (patch)
tree89062d329dad5685bc7a6c5da90d1fe171fddf6a /util/xmppstream.lua
parentfaa99714fccb2ef674038c90dff1114d06c99adf (diff)
downloadprosody-0efcfb0a8ab0678b037f5a2c2b8aced354f51166.tar.gz
prosody-0efcfb0a8ab0678b037f5a2c2b8aced354f51166.zip
util.xmppstream: Removed some useless property assignments.
Diffstat (limited to 'util/xmppstream.lua')
-rw-r--r--util/xmppstream.lua4
1 files changed, 0 insertions, 4 deletions
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