diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-10-26 14:39:52 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-10-26 14:39:52 +0000 |
commit | e8ecd95917b468e95f32dcdb1f5b397919a9e426 (patch) | |
tree | 1aa02bce9343cf5ba0f725e609fe658813bd515c /util/stanza.lua | |
parent | cd77265014a1ec51773c5cba92acb10670c829c0 (diff) | |
download | prosody-e8ecd95917b468e95f32dcdb1f5b397919a9e426.tar.gz prosody-e8ecd95917b468e95f32dcdb1f5b397919a9e426.zip |
Don't set cursor inside added child when using add_child()
Diffstat (limited to 'util/stanza.lua')
-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 bbd4776d..3fa8ba66 100644 --- a/util/stanza.lua +++ b/util/stanza.lua @@ -53,7 +53,6 @@ end function stanza_mt:add_child(child) (self.last_add[#self.last_add] or self):add_direct_child(child); - t_insert(self.last_add, s); return self; end |