- made custom bars and counters not be case-sensitive in their spells-to-be-tracked

This commit is contained in:
Parnic
2009-07-08 02:05:50 +00:00
parent 4fd6ad752b
commit b9c9182c27
2 changed files with 2 additions and 2 deletions

View File

@ -276,7 +276,7 @@ function IceCustomBar.prototype:GetAuraDuration(unitName, buffName)
local isMine = unitCaster == "player"
while buff do
if (buff == buffName and (not self.moduleSettings.trackOnlyMine or isMine)) then
if (buff:upper() == buffName:upper() and (not self.moduleSettings.trackOnlyMine or isMine)) then
if endTime and not remaining then
remaining = endTime - GetTime()
end