diff options
author | Kim Alvefur <zash@zash.se> | 2018-02-16 08:16:38 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-02-16 08:16:38 +0100 |
commit | 61fe6404359a0e7d59e1c48368e7c30ef98dbf26 (patch) | |
tree | 0afa04e218caa739a02788ebf90ded66b667e5e9 /util | |
parent | e717c8312d11271dcddb328ad80d073f54b5d177 (diff) | |
download | prosody-61fe6404359a0e7d59e1c48368e7c30ef98dbf26.tar.gz prosody-61fe6404359a0e7d59e1c48368e7c30ef98dbf26.zip |
util.stanza: Change __type to __name as this is used by Lua 5.3 in some error reporting functions
Diffstat (limited to 'util')
-rw-r--r-- | util/stanza.lua | 2 |
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) |