# HG changeset patch # User Kim Alvefur # Date 1337943058 -7200 # Node ID 02dbed57a35544dbb5f59a61262ac5c6c2348a0d # Parent 8d0643281fe2fc0e989f555cd1d407cea03abbd8 mod_admin_telnet: More code found and updated, which depended on pre-8c5b5ebaacb0 behaviour. diff -r 8d0643281fe2 -r 02dbed57a355 plugins/mod_admin_telnet.lua --- a/plugins/mod_admin_telnet.lua Fri May 25 07:08:12 2012 +0200 +++ b/plugins/mod_admin_telnet.lua Fri May 25 12:50:58 2012 +0200 @@ -631,7 +631,7 @@ 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