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 | 0fb838ecd2febc14ccc75cd3123adc5a78641779 (patch) | |
tree | 6ff3b795850f1705230147a8070d103a73f944c6 /plugins | |
parent | 882a6b50f2a1ec61bb82ab6e9db054cb0eacb80c (diff) | |
download | prosody-0fb838ecd2febc14ccc75cd3123adc5a78641779.tar.gz prosody-0fb838ecd2febc14ccc75cd3123adc5a78641779.zip |
mod_admin_telnet: Remove unused or duplicated locals
Diffstat (limited to 'plugins')
-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 |