From d3097a765218faf082b3a55618b4c31408ee925e Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Tue, 23 Mar 2010 04:38:37 -0400 Subject: [PATCH] Fixed faction checks for Location and Acquisition sorting - it helps to check for "boolean" rather than "bool" for a type. --- Frame.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frame.lua b/Frame.lua index 24946b0..c70f45a 100644 --- a/Frame.lua +++ b/Frame.lua @@ -2554,7 +2554,7 @@ do local recipe = private.recipe_list[spell_id] local has_faction = false - if type(faction) == "bool" + if type(faction) == "boolean" or addon.db.profile.filters.general.faction or faction == BFAC[Player.faction] or faction == BFAC["Neutral"] then has_faction = true end @@ -2591,7 +2591,7 @@ do local recipe = private.recipe_list[spell_id] local has_faction = false - if type(faction) == "bool" + if type(faction) == "boolean" or addon.db.profile.filters.general.faction or faction == BFAC[Player.faction] or faction == BFAC["Neutral"] then has_faction = true end -- 1.7.9.5