Merge 0.10->trunk
[prosody.git] / util / import.lua
index 81401e8b503a0433c7382cd99cda9e13342cf2ae..c2b9dce19ee9f411194dc80d5a757e21e548f8b7 100644 (file)
@@ -1,13 +1,14 @@
 -- Prosody IM
 -- Copyright (C) 2008-2010 Matthew Wild
 -- Copyright (C) 2008-2010 Waqas Hussain
--- 
+--
 -- This project is MIT/X11 licensed. Please see the
 -- COPYING file in the source package for more information.
 --
 
 
 
+local unpack = table.unpack or unpack; --luacheck: ignore 113
 local t_insert = table.insert;
 function import(module, ...)
        local m = package.loaded[module] or require(module);