make buff and debuff validations exact buff names and not string parts

This commit is contained in:
Jrc13245
2025-11-11 11:08:37 -05:00
parent 1b1d4fe94b
commit b9cd6a8802
+2 -2
View File
@@ -622,7 +622,7 @@ function CleveRoids.ValidateAura(unit, args, isbuff)
if current_spellID then
local auraName = SpellInfo(current_spellID)
if auraName and args.name then
if string.find(string.lower(auraName), string.lower(args.name), 1, true) then
if string.lower(auraName) == string.lower(args.name) then
found = true
break
end
@@ -646,7 +646,7 @@ function CleveRoids.ValidateAura(unit, args, isbuff)
if current_spellID then
local auraName = SpellInfo(current_spellID)
if auraName and args.name then
if string.find(string.lower(auraName), string.lower(args.name), 1, true) then
if string.lower(auraName) == string.lower(args.name) then
found = true
break
end