Diff

core/xmlhandlers.lua @ 844:503ca8da1000

core.xmlhandlers: Remove redundant check in condition
author Matthew Wild <mwild1@gmail.com>
date Fri, 27 Feb 2009 04:42:06 +0000
parent 838:1035846d6273
child 896:2c0b9e3c11c3
line wrap: on
line diff
--- a/core/xmlhandlers.lua	Fri Feb 27 04:35:36 2009 +0000
+++ b/core/xmlhandlers.lua	Fri Feb 27 04:42:06 2009 +0000
@@ -122,7 +122,7 @@
 				end
 			end
 			if stanza then
-				if stanza and #chardata > 0 then
+				if #chardata > 0 then
 					-- We have some character data in the buffer
 					stanza:text(t_concat(chardata));
 					chardata = {};