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 | 6d79aef1061c6f886fb1cdaa3065f4f559fd9191 (patch) | |
tree | 16adc5d9a11394bd2a4b82952c4fb350ca32f532 | |
parent | 74bfc82312facf3b94d795eb22884cd53050f799 (diff) | |
download | prosody-6d79aef1061c6f886fb1cdaa3065f4f559fd9191.tar.gz prosody-6d79aef1061c6f886fb1cdaa3065f4f559fd9191.zip |
util.stanza: Remove redundant check from :text now done in :add_direct_child
-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 |