diff options
author | Kim Alvefur <zash@zash.se> | 2018-05-22 22:25:59 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-05-22 22:25:59 +0200 |
commit | c931751893fa558de2150ca1c4b76427cdeddd09 (patch) | |
tree | 54d397a353338cb5ac1a004ec5f86cc834a06248 /plugins | |
parent | a012355b09e6415a7eb3b80bc5ebe5f0add650d2 (diff) | |
parent | 0f78fff909b3c670fc39ab40a12854d06acd6f98 (diff) | |
download | prosody-c931751893fa558de2150ca1c4b76427cdeddd09.tar.gz prosody-c931751893fa558de2150ca1c4b76427cdeddd09.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_c2s.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua index d22c5625..b634b843 100644 --- a/plugins/mod_c2s.lua +++ b/plugins/mod_c2s.lua @@ -172,7 +172,7 @@ local function session_close(session, reason) function session.send() return false; end local reason_text = (reason and (reason.name or reason.text or reason.condition)) or reason; - session.log("debug", "c2s stream for %s closed: %s", session.full_jid or ("<"..session.ip..">"), reason_text or "session closed"); + session.log("debug", "c2s stream for %s closed: %s", session.full_jid or session.ip or "<unknown>", reason_text or "session closed"); -- Authenticated incoming stream may still be sending us stanzas, so wait for </stream:stream> from remote local conn = session.conn; |