Quantcast

Fixed the init func usage.

James D. Callahan III [03-08-11 - 09:47]
Fixed the init func usage.
Filename
core.lua
diff --git a/core.lua b/core.lua
index 1bba3f5..20a417a 100644
--- a/core.lua
+++ b/core.lua
@@ -911,7 +911,7 @@ function addon:InitializeProfession(profession)

 	if func then
 		func(addon)
-		private.profession_init_funcs[profession] = nil
+		PROFESSION_INIT_FUNCS[profession] = nil
 	end
 end