Don't leak variables into global namespace.
Johnny C. Lam [10-17-12 - 02:12]
Don't leak variables into global namespace.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@602 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvaleBestAction.lua b/OvaleBestAction.lua
index e751faf..ee9ff07 100644
--- a/OvaleBestAction.lua
+++ b/OvaleBestAction.lua
@@ -121,7 +121,7 @@ function OvaleBestAction:GetActionInfo(element)
end
end
- spellName = OvaleData.spellList[spellId]
+ local spellName = OvaleData.spellList[spellId]
if not spellName then
spellName = GetSpellInfo(spellId)
end