From 919ab807354899b928813d25129bf238cebdef5f Mon Sep 17 00:00:00 2001 From: Moonlit Productions Date: Thu, 1 Jan 2026 23:02:37 -0500 Subject: [PATCH] close the iris on an unsafe connection --- startup.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/startup.lua b/startup.lua index ff5aeb2..799940d 100644 --- a/startup.lua +++ b/startup.lua @@ -746,7 +746,12 @@ local function handleOutgoingDial() local connectionSafe = false 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 utils.log("WARNING: Remote iris is fully closed!") else