Diff

core/hostmanager.lua @ 7143:fa6cd0e9105d

hostmanager: Remove unused imports of 'jid_split' and 'select'
author Matthew Wild <mwild1@gmail.com>
date Fri, 05 Feb 2016 00:10:46 +0000
parent 6791:e813e8cf6046
child 8253:3a6f5b0f56f0
line wrap: on
line diff
--- a/core/hostmanager.lua	Fri Feb 05 00:10:27 2016 +0000
+++ b/core/hostmanager.lua	Fri Feb 05 00:10:46 2016 +0000
@@ -12,8 +12,6 @@
 local disco_items = require "util.multitable".new();
 local NULL = {};
 
-local jid_split = require "util.jid".split;
-
 local log = require "util.logger".init("hostmanager");
 
 local hosts = prosody.hosts;
@@ -24,7 +22,7 @@
 local incoming_s2s = _G.prosody.incoming_s2s;
 local core_route_stanza = _G.prosody.core_route_stanza;
 
-local pairs, select, rawget = pairs, select, rawget;
+local pairs, rawget = pairs, rawget;
 local tostring, type = tostring, type;
 local setmetatable = setmetatable;