From 008fe866f31e436088be6806eb760e37551f4925 Mon Sep 17 00:00:00 2001 From: Steven Jackson Date: Sat, 5 Jul 2014 17:51:49 -0500 Subject: [PATCH] forgot a change in 4.04 --- .../AddOns/SVUI/packages/unit/common/auras.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Interface/AddOns/SVUI/packages/unit/common/auras.lua b/Interface/AddOns/SVUI/packages/unit/common/auras.lua index c66dd0f..f05dbd6 100644 --- a/Interface/AddOns/SVUI/packages/unit/common/auras.lua +++ b/Interface/AddOns/SVUI/packages/unit/common/auras.lua @@ -310,9 +310,9 @@ end function MOD:AuraFilter(unit, icon, name, _, _, _, dtype, duration, _, caster, isStealable, shouldConsolidate, spellID, canApplyAura, isBossAura) if spellID == 65148 then return false end local isPlayer,friendly; + local db = self:GetParent().db; local auraType = self.type; - local db = MOD.db[unit][auraType]; - if not db then return true end + if not db or not auraType or not db[auraType] then return true end; local filtered=true; local allowed=true; local pass=false; -- 1.7.9.5