Changeset

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
parents 7142:67226eaef97c
children 7146:c793f9d13a36 7147:81e54032d14d
files core/hostmanager.lua
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
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;