From 789026067573c961f96f9f5db83faf7346946b62 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 27 Feb 2017 14:55:01 +0100 Subject: prosodyctl: Handle move of 'unpack' in Lua 5.2 --- prosodyctl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prosodyctl b/prosodyctl index 12c40c71..1ee780ba 100755 --- a/prosodyctl +++ b/prosodyctl @@ -621,6 +621,8 @@ function commands.reload(arg) end -- ejabberdctl compatibility +local unpack = table.unpack or unpack; -- luacheck: ignore 113 + function commands.register(arg) local user, host, password = unpack(arg); if (not (user and host)) or arg[1] == "--help" then -- cgit v1.2.3