Fixed uvl.errors
authorSteven Barth <steven@midlink.org>
Tue, 9 Sep 2008 15:39:38 +0000 (15:39 +0000)
committerSteven Barth <steven@midlink.org>
Tue, 9 Sep 2008 15:39:38 +0000 (15:39 +0000)
libs/uvl/luasrc/uvl/errors.lua

index bdd596ca820c0b2e347b1c5423f518769fb06821..242965ddc129e2d4fd5b1e0c521f8f00da0a9a69 100644 (file)
@@ -121,7 +121,7 @@ function error.child(self, err)
        if not self.childs then
                self.childs = { err }
        else
-               table.insert( self.childs, err )
+               self.childs[#self.childs+1] = err
        end
        return self
 end