Software /
code /
prosody
Changeset
5030:9962fc19f9e9
mod_admin_telnet: Import prosody.incoming_s2s
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Jul 2012 01:28:14 +0100 |
parents | 5029:7bcd79631492 |
children | 5031:28d56268a72d 5032:c40ea227f8af |
files | plugins/mod_admin_telnet.lua |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Sat Jul 28 01:25:01 2012 +0100 +++ b/plugins/mod_admin_telnet.lua Sat Jul 28 01:28:14 2012 +0100 @@ -8,18 +8,19 @@ module:set_global(); +local hostmanager = require "core.hostmanager"; +local modulemanager = require "core.modulemanager"; +local s2smanager = require "core.s2smanager"; +local portmanager = require "core.portmanager"; + local _G = _G; local prosody = _G.prosody; local hosts = prosody.hosts; +local incoming_s2s = prosody.incoming_s2s; local console_listener = { default_port = 5582; default_mode = "*a"; interface = "127.0.0.1" }; -local hostmanager = require "core.hostmanager"; -local modulemanager = require "core.modulemanager"; -local s2smanager = require "core.s2smanager"; -local portmanager = require "core.portmanager"; - local iterators = require "util.iterators"; local keys, values = iterators.keys, iterators.values; local jid = require "util.jid";