diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-03-06 18:45:09 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-03-06 18:45:09 +0000 |
commit | 80de22c29bae5672eae6b8a96a4f0a92dca7a28c (patch) | |
tree | 65447ee12d26387bb9fca22f6b9588646b54c72b | |
parent | a201db970b44ac05204b19aa1c3fa973ea6e2e2a (diff) | |
download | prosody-80de22c29bae5672eae6b8a96a4f0a92dca7a28c.tar.gz prosody-80de22c29bae5672eae6b8a96a4f0a92dca7a28c.zip |
net.xmppserver_listener: Clarify log message (for nil/false)
-rw-r--r-- | net/xmppserver_listener.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua index c9746ee1..8a3886ad 100644 --- a/net/xmppserver_listener.lua +++ b/net/xmppserver_listener.lua @@ -176,7 +176,7 @@ function xmppserver.ondisconnect(conn, err) return; -- Session lives for now end end - (session.log or log)("info", "s2s disconnected: %s->%s (%s)", tostring(session.from_host), tostring(session.to_host), tostring(err)); + (session.log or log)("info", "s2s disconnected: %s->%s (%s)", tostring(session.from_host), tostring(session.to_host), tostring(err or "closed")); s2s_destroy_session(session, err); sessions[conn] = nil; session = nil; |