Quantcast

In Player:MarkExclusions(): Changed self["Profession"] to self.current_prof so the function will actually work.

James D. Callahan III [03-22-10 - 21:36]
In Player:MarkExclusions(): Changed self["Profession"] to self.current_prof so the function will actually work.
Filename
Player.lua
diff --git a/Player.lua b/Player.lua
index 075372a..38c559e 100644
--- a/Player.lua
+++ b/Player.lua
@@ -67,7 +67,7 @@ function Player:MarkExclusions()
 	local exclusion_list = addon.db.profile.exclusionlist
 	local ignored = not addon.db.profile.ignoreexclusionlist
 	local recipe_list = private.recipe_list
-	local profession = self["Profession"]
+	local profession = self.current_prof
 	local known_count = 0
 	local unknown_count = 0