aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit17174eb3c57ee776dda12fa59789c28c349cfb19 (patch)
tree41334683815f41ee3eff84656813a32b10ae5ff8 /plugins
parent21ebb8ab1d01247807dafe0d8b4f5851a29ccce5 (diff)
downloadprosody-17174eb3c57ee776dda12fa59789c28c349cfb19.tar.gz
prosody-17174eb3c57ee776dda12fa59789c28c349cfb19.zip
mod_admin_telnet: Import prosody.incoming_s2s
Diffstat (limited to 'plugins')
-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";