From 8eec29745633bd84c2d325d42dbeeb4afd37d516 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Sat, 9 Jun 2012 02:27:44 +0200 Subject: mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on modules setting globals --- plugins/mod_admin_telnet.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins') 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"; -- cgit v1.2.3