From 219c84da4a2f42938e84ad60b53fbf1ed98954b8 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 27 Feb 2009 04:42:06 +0000 Subject: core.xmlhandlers: Remove redundant check in condition --- core/xmlhandlers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/xmlhandlers.lua b/core/xmlhandlers.lua index 56115917..ea136c8d 100644 --- a/core/xmlhandlers.lua +++ b/core/xmlhandlers.lua @@ -122,7 +122,7 @@ function init_xmlhandlers(session, stream_callbacks) 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 = {}; -- cgit v1.2.3