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
commitb19f5a09a19534973d522e7400139f040d76391b (patch)
treeb8427f8cf7a4380d9b6e065a26ef3c576ecff44d /util
parent55217ae785781c5dc943e512278f8afdb868ed9a (diff)
downloadprosody-b19f5a09a19534973d522e7400139f040d76391b.tar.gz
prosody-b19f5a09a19534973d522e7400139f040d76391b.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 = {};