Software /
code /
prosody
Diff
core/s2smanager.lua @ 7950:f91e7ec9654e
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 06 Mar 2017 01:14:32 +0100 |
parent | 7452:d916703d5e18 |
parent | 7947:24170d74b00b |
child | 8555:4f0f5b49bb03 |
line wrap: on
line diff
--- a/core/s2smanager.lua Fri Mar 03 11:52:22 2017 +0100 +++ b/core/s2smanager.lua Mon Mar 06 01:14:32 2017 +0100 @@ -71,7 +71,9 @@ local function destroy_session(session, reason) if session.destroyed then return; end - (session.log or log)("debug", "Destroying "..tostring(session.direction).." session "..tostring(session.from_host).."->"..tostring(session.to_host)..(reason and (": "..reason) or "")); + (session.log or log)("debug", "Destroying "..tostring(session.direction) + .." session "..tostring(session.from_host).."->"..tostring(session.to_host) + ..(reason and (": "..reason) or "")); if session.direction == "outgoing" then hosts[session.from_host].s2sout[session.to_host] = nil;