Software /
code /
prosody
Comparison
plugins/mod_storage_xep0227.lua @ 12589:39ae08180c81
compat: Remove handling of Lua 5.1 location of 'unpack' function
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 11 Jul 2022 19:07:38 +0200 |
parent | 12460:f7e40f1a5f53 |
child | 12977:74b9e05af71e |
comparison
equal
deleted
inserted
replaced
12588:b15d3cf98ba6 | 12589:39ae08180c81 |
---|---|
1 | 1 |
2 local ipairs, pairs = ipairs, pairs; | 2 local ipairs, pairs = ipairs, pairs; |
3 local setmetatable = setmetatable; | 3 local setmetatable = setmetatable; |
4 local tostring = tostring; | 4 local tostring = tostring; |
5 local next, unpack = next, table.unpack or unpack; --luacheck: ignore 113/unpack | 5 local next, unpack = next, table.unpack; |
6 local os_remove = os.remove; | 6 local os_remove = os.remove; |
7 local io_open = io.open; | 7 local io_open = io.open; |
8 local jid_bare = require "util.jid".bare; | 8 local jid_bare = require "util.jid".bare; |
9 local jid_prep = require "util.jid".prep; | 9 local jid_prep = require "util.jid".prep; |
10 local jid_join = require "util.jid".join; | 10 local jid_join = require "util.jid".join; |