util.dataforms: Allow separation of options from values in list fields
[prosody.git] / util / import.lua
index d5e72eb9d725f99192f7f15e6b0feaa307bb0c88..c2b9dce19ee9f411194dc80d5a757e21e548f8b7 100644 (file)
@@ -1,13 +1,14 @@
 -- Prosody IM
--- Copyright (C) 2008-2009 Matthew Wild
--- Copyright (C) 2008-2009 Waqas Hussain
--- 
+-- 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);