Quantcast

Fix global variable leak introduced by r646.

Johnny C. Lam [12-09-12 - 16:37]
Fix global variable leak introduced by r646.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@659 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleAura.lua
diff --git a/OvaleAura.lua b/OvaleAura.lua
index 4614e35..2203ec6 100644
--- a/OvaleAura.lua
+++ b/OvaleAura.lua
@@ -206,7 +206,7 @@ function OvaleAura:UpdateAuras(unitId, unitGUID)

 	local mode = "HELPFUL"
 	local name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId
-	local canApplyAura, isBossDebuff, value1, value2, value3
+	local canApplyAura, isBossDebuff, isCastByPlayer, value1, value2, value3
 	while (true) do
 		name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId,
 			canApplyAura, isBossDebuff, isCastByPlayer, value1, value2, value3 = UnitAura(unitId, i, mode)