Mercurial > wow > itemauditor
diff Core.lua @ 145:b15c19200af8
Fixed item links for 4.0.1
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Tue, 12 Oct 2010 18:04:57 -0700 |
parents | 03e108d12ef1 |
children | 1db61fa6be07 |
line wrap: on
line diff
--- a/Core.lua Sat Oct 09 00:21:06 2010 -0700 +++ b/Core.lua Tue Oct 12 18:04:57 2010 -0700 @@ -590,7 +590,7 @@ return self:GetSafeLink(newLink) end end - return newLink and string.gsub(newLink, ":0:0:0:0:0:0", "") + return newLink and string.gsub(newLink, ":0:0:0:0:0:0", ""):gsub(":[0-9]+$", "") end function ItemAuditor:GetIDFromLink(link)