Quantcast

Fixed 4.2 compatibility

Adrian L Lange [09-03-11 - 19:53]
Fixed 4.2 compatibility
Filename
RealLinks.lua
diff --git a/RealLinks.lua b/RealLinks.lua
index ad7aff3..ad85023 100644
--- a/RealLinks.lua
+++ b/RealLinks.lua
@@ -4,7 +4,7 @@ local function GetLinkColor(data)
 		local _, _, quality = GetItemInfo(id)
 		if(quality) then
 			local _, _, _, hex = GetItemQualityColor(quality)
-			return hex
+			return '|c' .. hex
 		else
 			-- Item is not cached yet, show a white color instead
 			-- Would like to fix this somehow