aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-02-05 00:10:46 +0000
committerMatthew Wild <mwild1@gmail.com>2016-02-05 00:10:46 +0000
commite807440f367e57213228c150ddabf5d21fc0a795 (patch)
treec1bf277f573df2c6b1aac74038ea0afaf54423df
parentee4541c4d82667b8f9bb67606f9dabde45eec2d2 (diff)
downloadprosody-e807440f367e57213228c150ddabf5d21fc0a795.tar.gz
prosody-e807440f367e57213228c150ddabf5d21fc0a795.zip
hostmanager: Remove unused imports of 'jid_split' and 'select'
-rw-r--r--core/hostmanager.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua
index c04e9e85..d7a585f9 100644
--- a/core/hostmanager.lua
+++ b/core/hostmanager.lua
@@ -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;