hostmanager: Remove unused imports of 'jid_split' and 'select'
authorMatthew Wild <mwild1@gmail.com>
Fri, 5 Feb 2016 00:10:46 +0000 (00:10 +0000)
committerMatthew Wild <mwild1@gmail.com>
Fri, 5 Feb 2016 00:10:46 +0000 (00:10 +0000)
core/hostmanager.lua

index c04e9e85b83f3074ed15f29550f9f843f3cab9fe..d7a585f9b01db5a2b4201dc8c95be0a7f74e962f 100644 (file)
@@ -12,8 +12,6 @@ local events_new = require "util.events".new;
 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 @@ end
 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;