aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commita91b2bde9baf4627d5fa7f8876d691ab4f2a4966 (patch)
tree72b48f24ced570fbf959763190f0b63316be9a1d /plugins
parenta8669479e6ee0cb9a1f742047f4f5011aad9d8a4 (diff)
downloadprosody-a91b2bde9baf4627d5fa7f8876d691ab4f2a4966.tar.gz
prosody-a91b2bde9baf4627d5fa7f8876d691ab4f2a4966.zip
mod_admin_telnet: More code found and updated, which depended on pre-8c5b5ebaacb0 behaviour.
Diffstat (limited to 'plugins')
-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