aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-04 17:49:48 +0100
committerKim Alvefur <zash@zash.se>2017-03-04 17:49:48 +0100
commit014168ff18ff0216c649ca687523ab96768a9b0d (patch)
tree91aa73ddb7089baef93b2e47966f53c5c945ed52 /core/s2smanager.lua
parentc284110cb40cb2347f82e974f76eb6bc6927e946 (diff)
downloadprosody-014168ff18ff0216c649ca687523ab96768a9b0d.tar.gz
prosody-014168ff18ff0216c649ca687523ab96768a9b0d.zip
core: Split some very long lines [luacheck]
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r--core/s2smanager.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index a8d399d2..d84572f3 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -70,7 +70,9 @@ end
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;