Change debug code around a bit
ackis [01-14-09 - 18:02]
Change debug code around a bit
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@