Skip to content

Commit 8b32969

Browse files
committed
Check for empty string for dispelName as well as nil value
1 parent 38fd718 commit 8b32969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/AuraListeners.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ function EnhancedRaidFrames:addToAuraTable(parentFrame, auraData)
186186
-- Check if the aura is a debuff, if it matches the "RAID" filter, and if we're tracking the wildcard for "dispel"
187187
or (auraData.isHarmful and auraData.isRaid and self.allAuras:find("dispel", 1, true))
188188
-- Check if the aura is a debuff, and if it has a dispelName see if we're tracking the wildcard for it
189-
or (auraData.isHarmful and auraData.dispelName and self.allAuras:find(auraData.dispelName:lower(), 1, true)) then
189+
or (auraData.isHarmful and auraData.dispelName and auraData.dispelName ~= "" and self.allAuras:find(auraData.dispelName:lower(), 1, true)) then
190190

191191
-- Lowercase the aura name for consistency
192192
auraData.name = auraData.name:lower()

0 commit comments

Comments
 (0)