aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
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
commitfdc25c0acc332d7e1a3c1cc73f8999df830b55c8 (patch)
treef080c6f48f09fcdde2e433d6a07c41e7a02b9556 /util/datamanager.lua
parentef34d5516d2e5c9ee5453e49f59f3c2c72454942 (diff)
downloadprosody-fdc25c0acc332d7e1a3c1cc73f8999df830b55c8.tar.gz
prosody-fdc25c0acc332d7e1a3c1cc73f8999df830b55c8.zip
util.datamanager: Import tostring and type (fix global access)
Diffstat (limited to 'util/datamanager.lua')
-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;