Changeset

8520:e959bc51de75

util.stanza: Change __type to __name as this is used by Lua 5.3 in some error reporting functions
author Kim Alvefur <zash@zash.se>
date Fri, 16 Feb 2018 08:16:38 +0100
parents 8519:e7808f8d7d11
children 8521:6f5ce0f09f40
files util/stanza.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)