From 7f26dc3f6ba17891a7d106c83a9a4ba4d7403aed Mon Sep 17 00:00:00 2001 From: Moonlit Productions Date: Thu, 1 Jan 2026 23:31:32 -0500 Subject: [PATCH] fix mistake with IDC --- startup.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/startup.lua b/startup.lua index 0fb027b..73373c5 100644 --- a/startup.lua +++ b/startup.lua @@ -125,9 +125,9 @@ if transceiver == nil then else -- Configure transceiver IDC to match iris password (if GDO enabled) if config.enableGDO and config.irisPassword then - local idcCode = tonumber(config.irisPassword) + local idcCode = config.irisPassword if idcCode then - transceiver.setIDC(idcCode) + transceiver.setCurrentCode(idcCode) utils.log("Transceiver IDC configured to: " .. idcCode) else print("WARNING: irisPassword must be a number for GDO support")