core.xmlhandlers: Remove redundant check in condition

Fri, 27 Feb 2009 04:42:06 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 27 Feb 2009 04:42:06 +0000
changeset 844
503ca8da1000
parent 843
1d2dab41b0db
child 845
fc3dced9801e

core.xmlhandlers: Remove redundant check in condition

core/xmlhandlers.lua file | annotate | diff | comparison | revisions
--- 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 = {};

mercurial