From cafd13d132bf72108f3a7a08b6b624bd21677c8c Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Wed, 17 Oct 2012 02:12:34 +0000 Subject: [PATCH] Don't leak variables into global namespace. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@602 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleBestAction.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.9.5