From c69f952a857bd6b8aefd7fa7f9214c1e5f494229 Mon Sep 17 00:00:00 2001 From: kogasa Date: Thu, 20 Aug 2026 17:33:13 -0400 Subject: [PATCH] Skip the log-start aura snapshot while unit auras are restricted --- Transcriptor.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Transcriptor.lua b/Transcriptor.lua index 319ec86..2edd8be 100644 --- a/Transcriptor.lua +++ b/Transcriptor.lua @@ -62,6 +62,7 @@ local GetSpellName = C_Spell.GetSpellName local GetBestMapForUnit = C_Map.GetBestMapForUnit local C_GossipInfo_GetOptions = C_GossipInfo.GetOptions local issecretvalue = issecretvalue or function() return false end +local ShouldAurasBeSecret = C_Secrets and C_Secrets.ShouldAurasBeSecret or function() return false end local mapvalues = mapvalues local function ReplaceSecrets(value) if issecretvalue(value) then return "" else return value end end @@ -2266,7 +2267,7 @@ do end hiddenAuraEngageList = {} - do + if not ShouldAurasBeSecret() then -- 12.1: enumerating auras errors for tainted code when auras are restricted (RequiresUnitAuraAccess) local GetAuraDataByIndex = C_UnitAuras.GetAuraDataByIndex local UnitPosition = UnitPosition local _, _, _, myInstance = UnitPosition("player")