aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-18 15:00:17 +0100
committerKim Alvefur <zash@zash.se>2016-02-18 15:00:17 +0100
commit03bec1a29092503dd477406236bfe769c48e613c (patch)
tree41f67d3fa5580f3a6b3421303d78a6c68a5e2ff1 /core/modulemanager.lua
parentb899f5bc37229064d4995ecedde6b8b329db9e3f (diff)
parente349fb9c87b903509fdef01fbb08e4b1871f96b5 (diff)
downloadprosody-03bec1a29092503dd477406236bfe769c48e613c.tar.gz
prosody-03bec1a29092503dd477406236bfe769c48e613c.zip
Merge 0.10->trunk
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua3
1 files changed, 2 insertions, 1 deletions
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 = {...};