net.websocket.frames, util.datetime, util.json, util.prosodyctl, util.rfc6724: Remove...
[prosody.git] / core / modulemanager.lua
index 41c9b2fe97eacebb02a8322aee0728c4a2674386..65542f9a0313315cd16a80d1898eea48b15e139f 100644 (file)
@@ -23,7 +23,8 @@ local setmetatable, rawget = setmetatable, rawget;
 local ipairs, pairs, type, tostring, t_insert = ipairs, pairs, type, tostring, table.insert;
 
 local debug_traceback = debug.traceback;
-local unpack, select = unpack, select;
+local select = select;
+local unpack = table.unpack or unpack; --luacheck: ignore 113
 local pcall = function(f, ...)
        local n = select("#", ...);
        local params = {...};