From e8ecd95917b468e95f32dcdb1f5b397919a9e426 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 26 Oct 2008 14:39:52 +0000 Subject: Don't set cursor inside added child when using add_child() --- util/stanza.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'util') 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 -- cgit v1.2.3