From 0fb838ecd2febc14ccc75cd3123adc5a78641779 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 24 Jul 2012 21:36:47 +0200 Subject: mod_admin_telnet: Remove unused or duplicated locals --- plugins/mod_admin_telnet.lua | 2 -- 1 file changed, 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 -- cgit v1.2.3