util/stanza.lua
changeset 8523 e959bc51de75
parent 8385 e5d00bf4a4d5
child 8558 4f0f5b49bb03
--- a/util/stanza.lua	Thu Feb 15 02:54:52 2018 +0100
+++ b/util/stanza.lua	Fri Feb 16 08:16:38 2018 +0100
@@ -38,7 +38,7 @@
 
 local _ENV = nil;
 
-local stanza_mt = { __type = "stanza" };
+local stanza_mt = { __name = "stanza" };
 stanza_mt.__index = stanza_mt;
 
 local function new_stanza(name, attr, namespaces)