aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-28 01:28:14 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-28 01:28:14 +0100
commit19570443dda1ad2365123c2b43f6cd7cd2083219 (patch)
tree41334683815f41ee3eff84656813a32b10ae5ff8
parentc1adfd41574a036af3a04ea5f7a97f0e330b48d9 (diff)
downloadprosody-19570443dda1ad2365123c2b43f6cd7cd2083219.tar.gz
prosody-19570443dda1ad2365123c2b43f6cd7cd2083219.zip
mod_admin_telnet: Import prosody.incoming_s2s
-rw-r--r--plugins/mod_admin_telnet.lua11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 901aad7a..2f7bb57e 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -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";