From f4b42ee9b2243101a0f5dfc6a4a80adbc7e526a5 Mon Sep 17 00:00:00 2001 From: Parnic Date: Thu, 16 Oct 2008 15:08:16 +0000 Subject: [PATCH] - fixed a potential nil access in the cast bar --- IceCastBar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IceCastBar.lua b/IceCastBar.lua index 7691476..b5a9ecb 100644 --- a/IceCastBar.lua +++ b/IceCastBar.lua @@ -345,7 +345,7 @@ function IceCastBar.prototype:SpellCastChannelStart(unit) end function IceCastBar.prototype:SpellCastChannelUpdate(unit) - if (unit ~= self.unit) then return end + if (unit ~= self.unit or not self.actionStartTime) then return end --IceHUD:Debug("SpellCastChannelUpdate", unit, UnitChannelInfo(unit)) local spell, rank, displayName, icon, startTime, endTime = UnitChannelInfo(unit)