# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1518765398 -3600
# Node ID e959bc51de75522d5ffa01a6552e40f6869beefd
# Parent  e7808f8d7d11e495970b6b637bf221136cb3502a
util.stanza: Change __type to __name as this is used by Lua 5.3 in some error reporting functions

diff -r e7808f8d7d11 -r e959bc51de75 util/stanza.lua
--- 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)