aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-09-17 14:50:44 +0200
committerKim Alvefur <zash@zash.se>2014-09-17 14:50:44 +0200
commite9fa1d1db3a14e8b0d989c3c3e983521034ad38c (patch)
treeb8427f8cf7a4380d9b6e065a26ef3c576ecff44d /util
parentcd0acc10f7e3c4032367229c329cb131d739d0b0 (diff)
downloadprosody-e9fa1d1db3a14e8b0d989c3c3e983521034ad38c.tar.gz
prosody-e9fa1d1db3a14e8b0d989c3c3e983521034ad38c.zip
util.array: Add type() local
Diffstat (limited to 'util')
-rw-r--r--util/array.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/array.lua b/util/array.lua
index 6f2abe04..b10396b1 100644
--- a/util/array.lua
+++ b/util/array.lua
@@ -14,6 +14,7 @@ local math_random = math.random;
local math_floor = math.floor;
local pairs, ipairs = pairs, ipairs;
local tostring = tostring;
+local type = type;
local array = {};
local array_base = {};