# HG changeset patch # User Matthew Wild # Date 1335576162 -3600 # Node ID 37020f4b67994920ce028e04ab206d18ba854e1b # Parent d5b1a75316934b36c654f6d4410f8a90b18e19ea modulemanager: Remove unused function imports diff -r d5b1a7531693 -r 37020f4b6799 core/modulemanager.lua --- a/core/modulemanager.lua Sat Apr 28 02:18:17 2012 +0100 +++ b/core/modulemanager.lua Sat Apr 28 02:22:42 2012 +0100 @@ -14,15 +14,9 @@ local hosts = hosts; local prosody = prosody; -local loadfile, pcall, xpcall = loadfile, pcall, xpcall; -local setmetatable, setfenv, getfenv = setmetatable, setfenv, getfenv; -local pairs, ipairs = pairs, ipairs; -local t_insert, t_concat = table.insert, table.concat; -local type = type; -local next = next; -local rawget = rawget; -local error = error; -local tostring, tonumber = tostring, tonumber; +local pcall, xpcall = pcall, xpcall; +local setmetatable, rawget, setfenv = setmetatable, rawget, setfenv; +local pairs, type, tostring = pairs, type, tostring; local debug_traceback = debug.traceback; local unpack, select = unpack, select; @@ -32,7 +26,7 @@ return xpcall(function() return f(unpack(params, 1, n)) end, function(e) return tostring(e).."\n"..debug_traceback(); end); end -local array, set = require "util.array", require "util.set"; +local set = require "util.set"; local autoload_modules = {"presence", "message", "iq", "offline", "c2s", "s2s"}; local component_inheritable_modules = {"tls", "dialback", "iq"};