diff options
author | Florian Zeitz <florob@babelmonkeys.de> | 2012-06-09 02:27:44 +0200 |
---|---|---|
committer | Florian Zeitz <florob@babelmonkeys.de> | 2012-06-09 02:27:44 +0200 |
commit | 8eec29745633bd84c2d325d42dbeeb4afd37d516 (patch) | |
tree | f224f9bbbd3070899a9ad981d0b4802a0fb22648 /plugins | |
parent | 3d682bf8b1264fbeaf55d3da6659e6eda11d1b65 (diff) | |
download | prosody-8eec29745633bd84c2d325d42dbeeb4afd37d516.tar.gz prosody-8eec29745633bd84c2d325d42dbeeb4afd37d516.zip |
mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on modules setting globals
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 3 |
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"; |