aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorFlorian Zeitz <florob@babelmonkeys.de>2012-06-09 02:27:44 +0200
committerFlorian Zeitz <florob@babelmonkeys.de>2012-06-09 02:27:44 +0200
commit8395775fc1bd1e72a8c83927003d2af1ed5f304a (patch)
treef224f9bbbd3070899a9ad981d0b4802a0fb22648 /plugins/mod_admin_telnet.lua
parent5937bc4c8554fbd2121b2052cf52d6a24bf40aa0 (diff)
downloadprosody-8395775fc1bd1e72a8c83927003d2af1ed5f304a.tar.gz
prosody-8395775fc1bd1e72a8c83927003d2af1ed5f304a.zip
mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on modules setting globals
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 8787427e..cdac7d4e 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -15,6 +15,9 @@ local hosts = prosody.hosts;
local console_listener = { default_port = 5582; default_mode = "*l"; interface = "127.0.0.1" };
+local hostmanager = require "core.hostmanager";
+local modulemanager = require "core.modulemanager";
+
local iterators = require "util.iterators";
local keys, values = iterators.keys, iterators.values;
local jid = require "util.jid";