Diff

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
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