From 0d1c84c83970db156622e4f69e06138fcfb301cb Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Mon, 22 Mar 2010 18:02:18 -0400 Subject: [PATCH] In CanDisplayRecipe(): Handle the visibility of excluded recipes here. --- ARL.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ARL.lua b/ARL.lua index d311a31..6d19136 100644 --- a/ARL.lua +++ b/ARL.lua @@ -1295,8 +1295,12 @@ do } ---Scans a specific recipe to determine if it is to be displayed or not. + -- For flag info see comments at start of file in comments local function CanDisplayRecipe(recipe) - -- For flag info see comments at start of file in comments + if addon.db.profile.exclusionlist[recipe.spell_id] and not addon.db.profile.ignoreexclusionlist then + addon:Debug("Recipe \"%s\" has been excluded.", recipe.name) + return false + end local filter_db = addon.db.profile.filters local general_filters = filter_db.general local recipe_flags = recipe["Flags"] -- 1.7.9.5