Diff

prosodyctl @ 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 12578:10bb58ad5583
child 12864:9f9633364044
line wrap: on
line diff
--- a/prosodyctl	Mon Jul 11 17:32:13 2022 +0200
+++ b/prosodyctl	Mon Jul 11 19:07:38 2022 +0200
@@ -580,7 +580,7 @@
 end
 -- ejabberdctl compatibility
 
-local unpack = table.unpack or unpack; -- luacheck: ignore 113
+local unpack = table.unpack;
 
 function commands.register(arg)
 	local user, host, password = unpack(arg);