Comparison

plugins/mod_admin_telnet.lua @ 9406:7f277975768d

mod_admin_telnet: Import net.server instead of relying on global
author Kim Alvefur <zash@zash.se>
date Sun, 30 Sep 2018 14:37:25 +0200
parent 9405:86e3e37f25ff
child 9408:b4a82b726495
comparison
equal deleted inserted replaced
9405:86e3e37f25ff 9406:7f277975768d
12 local hostmanager = require "core.hostmanager"; 12 local hostmanager = require "core.hostmanager";
13 local modulemanager = require "core.modulemanager"; 13 local modulemanager = require "core.modulemanager";
14 local s2smanager = require "core.s2smanager"; 14 local s2smanager = require "core.s2smanager";
15 local portmanager = require "core.portmanager"; 15 local portmanager = require "core.portmanager";
16 local helpers = require "util.helpers"; 16 local helpers = require "util.helpers";
17 local server = require "net.server";
17 18
18 local _G = _G; 19 local _G = _G;
19 20
20 local prosody = _G.prosody; 21 local prosody = _G.prosody;
21 22