From 06c99178905403669855fa0a9b2903ffdb63b40a Mon Sep 17 00:00:00 2001 From: Ackis Date: Fri, 7 Nov 2008 19:22:15 +0000 Subject: [PATCH] Rename a function --- AckisRecipeList.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua index 04e77fb..b218670 100644 --- a/AckisRecipeList.lua +++ b/AckisRecipeList.lua @@ -689,7 +689,7 @@ end ]]-- -local function GetID(SpellLink) +local function GetIDFromLink(SpellLink) return select(3,sfind(SpellLink, "\124H%w+:(%d+):")) @@ -745,7 +745,7 @@ function addon:ScanForKnownRecipes(RecipeDB, playerData) local SpellLink = GetTradeSkillRecipeLink(i) -- Get the SpellID from the spell link or enchant link (to account for Skillet) - local SpellID = tonumber(GetID(SpellLink)) + local SpellID = tonumber(GetIDFromLink(SpellLink)) -- Spell ID is in RecipeDB so lets flag it as known if (RecipeDB[SpellID]) then -- 1.7.9.5