--- 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