Software /
code /
prosody
Diff
core/s2smanager.lua @ 169:92768120b717
Little tweak for more useful logging of closed s2s sessions
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 26 Oct 2008 13:14:14 +0000 |
parent | 167:c51246bc679d |
child | 179:774a172b03c8 |
line wrap: on
line diff
--- a/core/s2smanager.lua Sat Oct 25 20:34:21 2008 +0100 +++ b/core/s2smanager.lua Sun Oct 26 13:14:14 2008 +0000 @@ -175,7 +175,7 @@ end function destroy_session(session) - (session.log or log)("info", "Destroying session"); + (session.log or log)("info", "Destroying "..tostring(session.direction).." session "..tostring(session.from_host).."->"..tostring(session.to_host)); if session.direction == "outgoing" then hosts[session.to_host] = nil; end