changeset 12:40ff9c63badc

GetItemQualityColor change here too
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Tue, 28 Jun 2011 19:20:14 +0000
parents 952c3ac0e783
children 724daab48851
files mleqdkp.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mleqdkp.lua	Tue Jun 28 19:18:07 2011 +0000
+++ b/mleqdkp.lua	Tue Jun 28 19:20:14 2011 +0000
@@ -223,7 +223,7 @@
 tag_lookup_handlers.COLOR =
 	function (i, e)
 		local q = select(4, GetItemQualityColor(e.quality))
-		return q:sub(3)  -- skip leading |c
+		return q  -- skip leading |c (no longer returned by GIQC after 4.2)
 	end
 
 tag_lookup_handlers.COUNT =