- only do spell id exact-match checking if "exact match" is set. otherwise, it will compare spell names

This commit is contained in:
Parnic
2011-08-03 00:23:11 +00:00
parent 203848d48c
commit 92076fd93f

View File

@ -597,7 +597,7 @@ function IceCustomBar.prototype:GetAuraDuration(unitName, buffName)
duration = self.moduleSettings.maxDuration duration = self.moduleSettings.maxDuration
end end
if checkId then if checkId and self.moduleSettings.exactMatch then
validId = spellId == mySpellId validId = spellId == mySpellId
end end