Quantcast

Make currentclass local instead of global

ackis [04-15-09 - 18:03]
Make currentclass local instead of global
Filename
ARLFrame.lua
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 77a923b..1d37dcb 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -2985,7 +2985,7 @@ function addon.resetFilters()
 	filterdb.classes.warrior = false

 	-- Set your own class to true
-	_, currentclass = UnitClass("player")
+	local _, currentclass = UnitClass("player")
 	filterdb.classes[strlower(currentclass)] = true

 	addon.resetTitle()