From 13358c6a117bde0d257182e251be1893efe701cb Mon Sep 17 00:00:00 2001 From: Xruptor Date: Sun, 30 Sep 2012 07:56:46 -0400 Subject: [PATCH] -Fix for a nil link issue that was happening in 6.7.6 --- BagSync.lua | 2 ++ BagSync.toc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/BagSync.lua b/BagSync.lua index bf3a4f3..fc76ba0 100644 --- a/BagSync.lua +++ b/BagSync.lua @@ -252,6 +252,8 @@ local function ToShortLink(link) --at least this way it will always pull the first number after itemid: and before the second : --it's not the best way to do this, but it's better then having to freaking modify a regex every so often. Their latest change is due to Transmorgify. + if not link then return nil end + --ignore pet battle stuff for now till I can fix it :) if string.find(link:lower(), "hbattlepet:") then return nil diff --git a/BagSync.toc b/BagSync.toc index 5adbab4..b189853 100644 --- a/BagSync.toc +++ b/BagSync.toc @@ -2,7 +2,7 @@ ## Title: BagSync ## Notes: BagSync tracks your characters items and displays it within tooltips. ## Author: Xruptor -## Version: 6.7.6 +## Version: 6.7.7 ## SavedVariables: BagSyncDB, BagSyncOpt, BagSyncGUILD_DB, BagSyncTOKEN_DB, BagSyncCRAFT_DB, BagSyncBLACKLIST_DB localization\localization.lua -- 1.7.9.5