From 03734de797479ba2cf10002df6a040b6f7d0c010 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 14 Mar 2010 02:57:22 +0000 Subject: s2smanager: Don't re-destroy destroyed sessions --- core/s2smanager.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core/s2smanager.lua') diff --git a/core/s2smanager.lua b/core/s2smanager.lua index ccd8161f..b65fe00c 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -533,6 +533,7 @@ function retire_session(session) 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 -- cgit v1.2.3