Software /
code /
prosody
Diff
core/s2smanager.lua @ 7947:24170d74b00b
core: Split some very long lines [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 04 Mar 2017 17:49:48 +0100 |
parent | 6779:6236668da30a |
child | 7950:f91e7ec9654e |
line wrap: on
line diff
--- a/core/s2smanager.lua Fri Mar 03 11:51:32 2017 +0100 +++ b/core/s2smanager.lua Sat Mar 04 17:49:48 2017 +0100 @@ -70,7 +70,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;