# HG changeset patch # User Matthew Wild # Date 1254661388 -3600 # Node ID 262ea889016f44d2a35bc9be5379db4b9775b9ee # Parent 3b770710a1ee4a2870b39a06bdc8bbf8dd3547fa util.stanza: Add __type to metatable diff -r 3b770710a1ee -r 262ea889016f util/stanza.lua --- a/util/stanza.lua Sat Oct 03 18:40:47 2009 +0100 +++ b/util/stanza.lua Sun Oct 04 14:03:08 2009 +0100 @@ -34,7 +34,7 @@ module "stanza" -stanza_mt = {}; +stanza_mt = { __type = "stanza" }; stanza_mt.__index = stanza_mt; function stanza(name, attr)