aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-05-25 12:50:58 +0200
committerKim Alvefur <zash@zash.se>2012-05-25 12:50:58 +0200
commite8d9503d59b7f7d9ee998d486b010f10790ed315 (patch)
tree72b48f24ced570fbf959763190f0b63316be9a1d
parentecb7c826b5581ae6971e2b0df8d759edd4273aec (diff)
downloadprosody-e8d9503d59b7f7d9ee998d486b010f10790ed315.tar.gz
prosody-e8d9503d59b7f7d9ee998d486b010f10790ed315.zip
mod_admin_telnet: More code found and updated, which depended on pre-8c5b5ebaacb0 behaviour.
-rw-r--r--plugins/mod_admin_telnet.lua2
1 files changed, 1 insertions, 1 deletions
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