comparison mod_s2s_auth_dane/mod_s2s_auth_dane.lua @ 2182:5df3b646c9ad

mod_s2s_auth_dane: Remove unused local
author Kim Alvefur <zash@zash.se>
date Thu, 26 May 2016 15:36:19 +0200
parents f00cbfb812cd
children 7155ed1fb540
comparison
equal deleted inserted replaced
2181:f00cbfb812cd 2182:5df3b646c9ad
362 -- Telnet command 362 -- Telnet command
363 if module:get_option_set("modules_enabled", {}):contains("admin_telnet") then 363 if module:get_option_set("modules_enabled", {}):contains("admin_telnet") then
364 module:depends("admin_telnet"); -- Make sure the env is there 364 module:depends("admin_telnet"); -- Make sure the env is there
365 local def_env = module:shared("admin_telnet/env"); 365 local def_env = module:shared("admin_telnet/env");
366 366
367 local sessions = module:shared("s2s/sessions");
368
369 local function annotate(session, line) 367 local function annotate(session, line)
370 line = line or {}; 368 line = line or {};
371 table.insert(line, "--"); 369 table.insert(line, "--");
372 if session.dane == nil then 370 if session.dane == nil then
373 table.insert(line, "No DANE attempted, probably insecure SRV response"); 371 table.insert(line, "No DANE attempted, probably insecure SRV response");