close the iris on an unsafe connection

This commit is contained in:
2026-01-01 23:02:37 -05:00
parent 86228fd047
commit 919ab80735

View File

@ -746,7 +746,12 @@ local function handleOutgoingDial()
local connectionSafe = false local connectionSafe = false
if remoteIrisState and remoteIrisState > 0 then if remoteIrisState and remoteIrisState > 0 then
-- Remote iris is closed (partially or fully) -- Remote iris is closed (partially or fully) - UNSAFE
-- Close local iris to protect travelers
if config.irisEnabled then
utils.closeIris()
end
if remoteIrisState == 100 then if remoteIrisState == 100 then
utils.log("WARNING: Remote iris is fully closed!") utils.log("WARNING: Remote iris is fully closed!")
else else