# HG changeset patch # User Matthew Wild # Date 1343435294 -3600 # Node ID 9962fc19f9e9342065982b18351576f484c50e08 # Parent 7bcd7963149297cbcbf7031d8346a0e8a95cea08 mod_admin_telnet: Import prosody.incoming_s2s diff -r 7bcd79631492 -r 9962fc19f9e9 plugins/mod_admin_telnet.lua --- 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";