aboutsummaryrefslogtreecommitdiffstats
path: root/util/stanza.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-04 14:03:08 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-04 14:03:08 +0100
commitb1f5f214b1cc9fdcfb1952aa984d13bfb8813d75 (patch)
tree17ac4e20c1e94103f96872dbd66f2c867338cf52 /util/stanza.lua
parent65aab24c5c734b6882a7d6b2bc8effffee9da4ac (diff)
downloadprosody-b1f5f214b1cc9fdcfb1952aa984d13bfb8813d75.tar.gz
prosody-b1f5f214b1cc9fdcfb1952aa984d13bfb8813d75.zip
util.stanza: Add __type to metatable
Diffstat (limited to 'util/stanza.lua')
-rw-r--r--util/stanza.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/stanza.lua b/util/stanza.lua
index e02136f2..3bf7ea58 100644
--- a/util/stanza.lua
+++ b/util/stanza.lua
@@ -34,7 +34,7 @@ local log = require "util.logger".init("stanza");
module "stanza"
-stanza_mt = {};
+stanza_mt = { __type = "stanza" };
stanza_mt.__index = stanza_mt;
function stanza(name, attr)