From 5ca74dbc3f42136b1bc1cb529758776c6484a487 Mon Sep 17 00:00:00 2001 From: ackis Date: Wed, 14 Jan 2009 18:02:07 +0000 Subject: [PATCH] Change debug code around a bit --- AckisRecipeList.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua index ffd212e..a1f3267 100644 --- a/AckisRecipeList.lua +++ b/AckisRecipeList.lua @@ -478,7 +478,7 @@ function addon:GetKnownProfessions(ProfTable) --@end-debug@ if (ProfTable[spellName] == false) then --@debug@ - self:Print("DEBUG: Player has the following profession: " .. spellName .. " (Index: ".. index .. ")") + self:Print("DEBUG: Profession matched: " .. spellName .. " (Index: ".. index .. ")") --@end-debug@ ProfTable[spellName] = true end @@ -1316,9 +1316,9 @@ local function InitializeRecipes(RecipeDB, playerProfession) --@debug@ if (playerProfession) then - self:Print("DEBUG: Initializing with profession: " .. playerProfession) + addon:Print("DEBUG: Initializing with profession: " .. playerProfession) else - self:Print("DEBUG: Initializing without a profession.") + addon:Print("DEBUG: Initializing without a profession.") end --@end-debug@ -- 1.7.9.5