Software /
code /
prosody
Changeset
8894:7273fb6af831
util.stanza: Remove redundant check from :text now done in :add_direct_child
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 08 Jun 2018 17:44:44 +0200 |
parents | 8893:eb710675f7f8 |
children | 8895:d00ea07de9a0 |
files | util/stanza.lua |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/stanza.lua Fri Jun 08 16:30:46 2018 +0100 +++ b/util/stanza.lua Fri Jun 08 17:44:44 2018 +0200 @@ -116,7 +116,6 @@ function stanza_mt:text(text) if text ~= nil and text ~= "" then - check_text(text, "text"); local last_add = self.last_add; (last_add and last_add[#last_add] or self):add_direct_child(text); end