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 bdd596c..242965d 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