Software /
code /
prosody
Changeset
7920:1db51061342b
prosodyctl: Handle move of 'unpack' in Lua 5.2
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 27 Feb 2017 14:55:01 +0100 |
parents | 7919:251bf68922d9 |
children | 7921:1821a7cabaa5 |
files | prosodyctl |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/prosodyctl Sun Feb 26 20:31:08 2017 +0100 +++ b/prosodyctl Mon Feb 27 14:55:01 2017 +0100 @@ -621,6 +621,8 @@ 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