diff options
author | Kim Alvefur <zash@zash.se> | 2017-02-27 14:55:01 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-02-27 14:55:01 +0100 |
commit | 789026067573c961f96f9f5db83faf7346946b62 (patch) | |
tree | 819bb0744c72e476063372397ffe7bfa9c847821 | |
parent | 2b4028fd7e707dc56356330366829f1c93e2d952 (diff) | |
download | prosody-789026067573c961f96f9f5db83faf7346946b62.tar.gz prosody-789026067573c961f96f9f5db83faf7346946b62.zip |
prosodyctl: Handle move of 'unpack' in Lua 5.2
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |