X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;ds=sidebyside;f=core%2Fmodulemanager.lua;h=65542f9a0313315cd16a80d1898eea48b15e139f;hb=e303bd14399156e8375e2f734fd4717a0077d241;hp=41c9b2fe97eacebb02a8322aee0728c4a2674386;hpb=a14deb1f4521c0dd3a1e062c521ba71c54bafc75;p=prosody.git diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 41c9b2fe..65542f9a 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -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 = {...};