Software / code / prosody
Changeset
844:503ca8da1000
core.xmlhandlers: Remove redundant check in condition
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 27 Feb 2009 04:42:06 +0000 |
| parents | 843:1d2dab41b0db |
| children | 845:fc3dced9801e |
| files | core/xmlhandlers.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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 = {};