diff options
author | Kim Alvefur <zash@zash.se> | 2018-06-08 17:44:44 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-06-08 17:44:44 +0200 |
commit | 632c7f3d317a0829fc27ca387e05dd3acd09381d (patch) | |
tree | 16adc5d9a11394bd2a4b82952c4fb350ca32f532 /util | |
parent | 26f35cb4200b1db5d2467e25e1651c8fa1dd6368 (diff) | |
download | prosody-632c7f3d317a0829fc27ca387e05dd3acd09381d.tar.gz prosody-632c7f3d317a0829fc27ca387e05dd3acd09381d.zip |
util.stanza: Remove redundant check from :text now done in :add_direct_child
Diffstat (limited to 'util')
-rw-r--r-- | util/stanza.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/util/stanza.lua b/util/stanza.lua index 2691cb0b..1f67c75b 100644 --- a/util/stanza.lua +++ b/util/stanza.lua @@ -116,7 +116,6 @@ end 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 |