diff options
author | Kim Alvefur <zash@zash.se> | 2012-07-24 21:36:47 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-07-24 21:36:47 +0200 |
commit | edf00237621d4e280a07090be83ae8a64c790768 (patch) | |
tree | 6ff3b795850f1705230147a8070d103a73f944c6 /plugins/mod_admin_telnet.lua | |
parent | a9b451200578c00115686b2db7e41ef09e622115 (diff) | |
download | prosody-edf00237621d4e280a07090be83ae8a64c790768.tar.gz prosody-edf00237621d4e280a07090be83ae8a64c790768.zip |
mod_admin_telnet: Remove unused or duplicated locals
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 2ed4ac79..7cfb2751 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -642,7 +642,6 @@ local function print_errors(print, errors) end function def_env.s2s:showcert(domain) - local ser = require "util.serialization".serialize; local print = self.session.print; local domain_sessions = set.new(array.collect(keys(incoming_s2s))) /function(session) return session.from_host == domain and session or nil; end; @@ -689,7 +688,6 @@ function def_env.s2s:showcert(domain) end local domain_certs = array.collect(values(cert_set)); -- Phew. We now have a array of unique certificates presented by domain. - local print = self.session.print; local n_certs = #domain_certs; if n_certs == 0 then |