Changeset

1874:262ea889016f

util.stanza: Add __type to metatable
author Matthew Wild <mwild1@gmail.com>
date Sun, 04 Oct 2009 14:03:08 +0100
parents 1873:3b770710a1ee
children 1875:334383faf77b
files util/stanza.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)