aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-10-26 14:39:52 +0000
committerMatthew Wild <mwild1@gmail.com>2008-10-26 14:39:52 +0000
commite8ecd95917b468e95f32dcdb1f5b397919a9e426 (patch)
tree1aa02bce9343cf5ba0f725e609fe658813bd515c /util
parentcd77265014a1ec51773c5cba92acb10670c829c0 (diff)
downloadprosody-e8ecd95917b468e95f32dcdb1f5b397919a9e426.tar.gz
prosody-e8ecd95917b468e95f32dcdb1f5b397919a9e426.zip
Don't set cursor inside added child when using add_child()
Diffstat (limited to 'util')
-rw-r--r--util/stanza.lua1
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