changeset 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
files CHANGELOG.txt Core.lua
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <Asa.Ayers@Gmail.com>
+
+- Fixed item links for 4.0.1
+
 2010-10-08  Asa Ayers  <Asa.Ayers@Gmail.com>
 
 - 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.
--- 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)