aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-07-29 03:30:59 +0200
committerKim Alvefur <zash@zash.se>2012-07-29 03:30:59 +0200
commitce55d30151488cfcf77679781ac6bf22e4e52813 (patch)
tree8b325c1641b3a5007cc66c714ff9229e06741ac4 /util/datamanager.lua
parent3bbe175244c77f6ffe40d856932c274ea7e58e97 (diff)
downloadprosody-ce55d30151488cfcf77679781ac6bf22e4e52813.tar.gz
prosody-ce55d30151488cfcf77679781ac6bf22e4e52813.zip
util.datamanager: Remove a few unused imports
Diffstat (limited to 'util/datamanager.lua')
-rw-r--r--util/datamanager.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index 5d3074a3..0eb3d58a 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -8,16 +8,15 @@
local format = string.format;
-local setmetatable, type = setmetatable, type;
-local pairs, ipairs = pairs, ipairs;
+local setmetatable = setmetatable;
+local ipairs = ipairs;
local char = string.char;
local pcall = pcall;
local log = require "util.logger".init("datamanager");
local io_open = io.open;
local os_remove = os.remove;
local os_rename = os.rename;
-local tostring, tonumber = tostring, tonumber;
-local error = error;
+local tonumber = tonumber;
local next = next;
local t_insert = table.insert;
local t_concat = table.concat;