Software /
code /
prosody
Changeset
6176:02d366be7c2f
mod_admin_telnet: Remove dead code
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 12 May 2014 01:16:17 +0200 (2014-05-11) |
parents | 6175:50ddaec11f2a |
children | 6177:b8a1143c8851 6255:6167f8bc5a6b |
files | plugins/mod_admin_telnet.lua |
diffstat | 1 files changed, 0 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Mon May 12 01:07:40 2014 +0200 +++ b/plugins/mod_admin_telnet.lua Mon May 12 01:16:17 2014 +0200 @@ -481,17 +481,6 @@ 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.."]"