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
commit1ecc3a7918024a07c2b9f38d274584683e7c3218 (patch)
tree91aa73ddb7089baef93b2e47966f53c5c945ed52 /core/s2smanager.lua
parent140c6de0260c404abebb860705a81ed7398c7c52 (diff)
downloadprosody-1ecc3a7918024a07c2b9f38d274584683e7c3218.tar.gz
prosody-1ecc3a7918024a07c2b9f38d274584683e7c3218.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;