aboutsummaryrefslogtreecommitdiffstats
path: root/core/hostmanager.lua
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
commitceb159bd90ebeeeb8d17ffde84c4ae799a5079e4 (patch)
treec1bf277f573df2c6b1aac74038ea0afaf54423df /core/hostmanager.lua
parent166f2cfd89dbb8ede83857764a38aa4e3132c574 (diff)
downloadprosody-ceb159bd90ebeeeb8d17ffde84c4ae799a5079e4.tar.gz
prosody-ceb159bd90ebeeeb8d17ffde84c4ae799a5079e4.zip
hostmanager: Remove unused imports of 'jid_split' and 'select'
Diffstat (limited to 'core/hostmanager.lua')
-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;