From a91b2bde9baf4627d5fa7f8876d691ab4f2a4966 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 25 May 2012 12:50:58 +0200 Subject: mod_admin_telnet: More code found and updated, which depended on pre-8c5b5ebaacb0 behaviour. --- plugins/mod_admin_telnet.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_admin_telnet.lua') diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 22f667a8..b56f9291 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -631,7 +631,7 @@ 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; end; + /function(session) return session.from_host == domain and session or nil; end; for local_host in values(prosody.hosts) do local s2sout = local_host.s2sout; if s2sout and s2sout[domain] then -- cgit v1.2.3