Mercurial > wow > itemauditor
diff Core.lua @ 146:1db61fa6be07
Better solution for item links.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Wed, 13 Oct 2010 18:56:58 -0700 |
parents | b15c19200af8 |
children | cbb427a8d5a5 |
line wrap: on
line diff
--- a/Core.lua Tue Oct 12 18:04:57 2010 -0700 +++ b/Core.lua Wed Oct 13 18:56:58 2010 -0700 @@ -590,7 +590,7 @@ return self:GetSafeLink(newLink) end end - return newLink and string.gsub(newLink, ":0:0:0:0:0:0", ""):gsub(":[0-9]+$", "") + return newLink and string.gsub(newLink, ":0:0:0:0:0:0:[0-9]+", "") end function ItemAuditor:GetIDFromLink(link)