From 11542d033aad6bf5cc4db0a6597c2aa0869ef428 Mon Sep 17 00:00:00 2001 From: ackis Date: Mon, 11 May 2009 17:46:14 +0000 Subject: [PATCH] Should copare a name to a name, not a number. --- AckisRecipeList.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua index da8ff6f..01cc2a1 100644 --- a/AckisRecipeList.lua +++ b/AckisRecipeList.lua @@ -2079,7 +2079,8 @@ function addon:GetExclusions(RecipeDB,prof) else countunknown = countunknown + 1 end - if (RecipeDB[i]["Profession"] == prof) then + local tmpprof = GetSpellInfo(RecipeDB[i]["Profession"]) + if (tmpprof == prof) then countprof = countprof + 1 end end -- 1.7.9.5