# HG changeset patch # User Asa Ayers # Date 1286931897 25200 # Node ID b15c19200af8f4a67c7b50f82384b70547f02e24 # Parent 03e108d12ef16dceec7c806fab619f30c5dfdfb6 Fixed item links for 4.0.1 diff -r 03e108d12ef1 -r b15c19200af8 CHANGELOG.txt --- a/CHANGELOG.txt Sat Oct 09 00:21:06 2010 -0700 +++ b/CHANGELOG.txt Tue Oct 12 18:04:57 2010 -0700 @@ -1,3 +1,7 @@ +2010-10-12 Asa Ayers + +- Fixed item links for 4.0.1 + 2010-10-08 Asa Ayers - Ticket 45 - Added the ability suppress COD warnings when mailing to characters on other accounts in Altoholic/DataStore. Instead of sending COD, ItemAuditor will send tracking info in the message. Thanks to Zerotorescue for giving me the solution to detect whether or not Postal or MailOpener is processing. It was the last step holding this back from being released. diff -r 03e108d12ef1 -r b15c19200af8 Core.lua --- 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)