diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-02-27 04:42:06 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-02-27 04:42:06 +0000 |
commit | 219c84da4a2f42938e84ad60b53fbf1ed98954b8 (patch) | |
tree | 51b8ce8eb758d2aa68c1d1a2678cb1bea32d8782 /core | |
parent | 9122c9bfbba618ac47c0c5ae04c0db713ff1ed95 (diff) | |
download | prosody-219c84da4a2f42938e84ad60b53fbf1ed98954b8.tar.gz prosody-219c84da4a2f42938e84ad60b53fbf1ed98954b8.zip |
core.xmlhandlers: Remove redundant check in condition
Diffstat (limited to 'core')
-rw-r--r-- | core/xmlhandlers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 = {}; |