# HG changeset patch # User Matthew Wild # Date 1235709726 0 # Node ID 503ca8da1000021d3be730ffb3d3c9b50edb8edf # Parent 1d2dab41b0db78384f1445e7aafcb91d48302e2f core.xmlhandlers: Remove redundant check in condition diff -r 1d2dab41b0db -r 503ca8da1000 core/xmlhandlers.lua --- 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 = {};