aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-05-22 14:38:07 +0200
committerKim Alvefur <zash@zash.se>2016-05-22 14:38:07 +0200
commitbaba98852da626da819c230e0a19385a0a885802 (patch)
treef080c6f48f09fcdde2e433d6a07c41e7a02b9556 /util
parent8d720b7bfbdfa3d911bf609d3064e200e970d1a2 (diff)
downloadprosody-baba98852da626da819c230e0a19385a0a885802.tar.gz
prosody-baba98852da626da819c230e0a19385a0a885802.zip
util.datamanager: Import tostring and type (fix global access)
Diffstat (limited to 'util')
-rw-r--r--util/datamanager.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index dc98bd13..fb9ba3a4 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -17,7 +17,9 @@ local io_open = io.open;
local os_remove = os.remove;
local os_rename = os.rename;
local tonumber = tonumber;
+local tostring = tostring;
local next = next;
+local type = type;
local t_insert = table.insert;
local t_concat = table.concat;
local envloadfile = require"util.envload".envloadfile;