Changeset

3444:e6a78e15fed2

util.xmppstream: Removed some useless property assignments.
author Waqas Hussain <waqas20@gmail.com>
date Tue, 03 Aug 2010 20:05:58 +0500
parents 3443:1159e007cc8f
children 3445:2fde9cb97f76
files util/xmppstream.lua
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/util/xmppstream.lua	Tue Aug 03 18:20:29 2010 +0500
+++ b/util/xmppstream.lua	Tue Aug 03 20:05:58 2010 +0500
@@ -95,10 +95,6 @@
 			
 			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