Quantcast

In ColourSkillLevel(): If the player doesn't have correct faction level, don't use addon:Red() for coloration, use addon:Rep() instead.

James D. Callahan III [03-09-10 - 08:23]
In ColourSkillLevel(): If the player doesn't have correct faction level, don't use addon:Red() for coloration, use addon:Rep() instead.
Filename
Frame.lua
diff --git a/Frame.lua b/Frame.lua
index 48176d5..f2d6cec 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -2128,7 +2128,7 @@ do
 		local trivial_level = recipeEntry.trivial_level

 		if not hasFaction then
-			return addon:Red(recipe_text)
+			return addon:Rep(recipe_text)
 		end

 		if recipe_level > skill_level then