aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.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/sessionmanager.lua
parent140c6de0260c404abebb860705a81ed7398c7c52 (diff)
downloadprosody-1ecc3a7918024a07c2b9f38d274584683e7c3218.tar.gz
prosody-1ecc3a7918024a07c2b9f38d274584683e7c3218.zip
core: Split some very long lines [luacheck]
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 75e54b4f..c5b08098 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -76,7 +76,10 @@ local function retire_session(session)
end
local function destroy_session(session, err)
- (session.log or log)("debug", "Destroying session for %s (%s@%s)%s", session.full_jid or "(unknown)", session.username or "(unknown)", session.host or "(unknown)", err and (": "..err) or "");
+ (session.log or log)("debug", "Destroying session for %s (%s@%s)%s",
+ session.full_jid or "(unknown)", session.username or "(unknown)",
+ session.host or "(unknown)", err and (": "..err) or "");
+
if session.destroyed then return; end
-- Remove session/resource from user's session list