From 8abf0f7a58d72b85121fc9092af870730073ec19 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Wed, 14 Apr 2010 23:58:48 -0400 Subject: [PATCH] In HasCredentials(): Removed faction-checking code - other functions along the line do this properly. --- Frame.lua | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Frame.lua b/Frame.lua index f4d4cc0..73e8b2f 100644 --- a/Frame.lua +++ b/Frame.lua @@ -2854,14 +2854,7 @@ do -- Used for the value portion of location_list or acquire_list entries. function HasCredentials(affiliation) - local is_good = (affiliation == "world_drop" or type(affiliation) == "boolean") and true or false - - if not is_good then - if addon.db.profile.filters.general.faction or affiliation == BFAC[Player.faction] or affiliation == BFAC["Neutral"] then - is_good = true - end - end - return is_good + return (affiliation == "world_drop" or type(affiliation) == "boolean") end function ListFrame:InsertEntry(entry, parent_entry, entry_index, entry_type, entry_expanded, expand_mode) -- 1.7.9.5