Changeset

5005:ab950c9ff074

mod_admin_telnet: Remove unused or duplicated locals
author Kim Alvefur <zash@zash.se>
date Tue, 24 Jul 2012 21:36:47 +0200
parents 5001:78a3d275715a
children 5006:af7e563cf453
files plugins/mod_admin_telnet.lua
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Tue Jul 24 15:50:11 2012 +0100
+++ b/plugins/mod_admin_telnet.lua	Tue Jul 24 21:36:47 2012 +0200
@@ -642,7 +642,6 @@
 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 @@
 	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