aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-02-16 08:16:38 +0100
committerKim Alvefur <zash@zash.se>2018-02-16 08:16:38 +0100
commit6cdc43292e4d549fc2ebe0a2275e4101891823f3 (patch)
tree0afa04e218caa739a02788ebf90ded66b667e5e9
parentb21efabb68b81008daec00b627ed295bdcae6a9e (diff)
downloadprosody-6cdc43292e4d549fc2ebe0a2275e4101891823f3.tar.gz
prosody-6cdc43292e4d549fc2ebe0a2275e4101891823f3.zip
util.stanza: Change __type to __name as this is used by Lua 5.3 in some error reporting functions
-rw-r--r--util/stanza.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/stanza.lua b/util/stanza.lua
index 8dcbe1d2..42b6abc3 100644
--- a/util/stanza.lua
+++ b/util/stanza.lua
@@ -38,7 +38,7 @@ local xmlns_stanzas = "urn:ietf:params:xml:ns:xmpp-stanzas";
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)