Diff

plugins/mod_admin_telnet.lua @ 5030:9962fc19f9e9

mod_admin_telnet: Import prosody.incoming_s2s
author Matthew Wild <mwild1@gmail.com>
date Sat, 28 Jul 2012 01:28:14 +0100
parent 5029:7bcd79631492
child 5120:bcabea740c00
child 5128:834ab74585ec
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";