Software /
code /
prosody
Diff
plugins/mod_admin_shell.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 | 12551:3b7e97e0a8ef |
child | 12603:05ca75309fa0 |
line wrap: on
line diff
--- a/plugins/mod_admin_shell.lua Mon Jul 11 17:32:13 2022 +0200 +++ b/plugins/mod_admin_shell.lua Mon Jul 11 19:07:38 2022 +0200 @@ -22,7 +22,7 @@ local prosody = _G.prosody; -local unpack = table.unpack or unpack; -- luacheck: ignore 113 +local unpack = table.unpack; local iterators = require "util.iterators"; local keys, values = iterators.keys, iterators.values; local jid_bare, jid_split, jid_join = import("util.jid", "bare", "prepped_split", "join");