Software /
code /
prosody
Changeset
2749:8dc5f3651501
s2smanager: Don't re-destroy destroyed sessions
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 14 Mar 2010 02:57:22 +0000 |
parents | 2748:85a242cd1bc4 |
children | 2750:4a6f32e6a8e5 |
files | core/s2smanager.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Sun Mar 14 02:56:57 2010 +0000 +++ b/core/s2smanager.lua Sun Mar 14 02:57:22 2010 +0000 @@ -533,6 +533,7 @@ end function destroy_session(session, reason) + if session.destroyed then return; end (session.log or log)("info", "Destroying "..tostring(session.direction).." session "..tostring(session.from_host).."->"..tostring(session.to_host)); if session.direction == "outgoing" then