diff options
author | Kim Alvefur <zash@zash.se> | 2014-05-12 01:16:17 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-05-12 01:16:17 +0200 |
commit | a88f746203415474f1fb6cd2c9d4f5b6875f6b17 (patch) | |
tree | 98b65d3aa2bc7336365c18ba12d79fec7cd29ebd /plugins | |
parent | 9ad11cba377175f3120b56201740890fc80e4066 (diff) | |
download | prosody-a88f746203415474f1fb6cd2c9d4f5b6875f6b17.tar.gz prosody-a88f746203415474f1fb6cd2c9d4f5b6875f6b17.zip |
mod_admin_telnet: Remove dead code
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 6a8783e2..9761d2f3 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -481,17 +481,6 @@ function def_env.config:reload() return ok, (ok and "Config reloaded (you may need to reload modules to take effect)") or tostring(err); end -def_env.hosts = {}; -function def_env.hosts:list() - for host, host_session in pairs(hosts) do - self.session.print(host); - end - return true, "Done"; -end - -function def_env.hosts:add(name) -end - local function common_info(session, line) if session.id then line[#line+1] = "["..session.id.."]" |