aboutsummaryrefslogtreecommitdiffstats
path: root/util
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
commit1c23a9b7a0b120e6e6561cd0546d53eaf0457da6 (patch)
tree8b325c1641b3a5007cc66c714ff9229e06741ac4 /util
parentabc359a28fc9a70348da270c5cbc8b169f2495cf (diff)
downloadprosody-1c23a9b7a0b120e6e6561cd0546d53eaf0457da6.tar.gz
prosody-1c23a9b7a0b120e6e6561cd0546d53eaf0457da6.zip
util.datamanager: Remove a few unused imports
Diffstat (limited to 'util')
-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;