Software /
code /
prosody
Diff
util/stanza.lua @ 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 |
parent | 8382:e5d00bf4a4d5 |
child | 8555:4f0f5b49bb03 |
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)