Quantcast

Comment out registering the event. Last time I did this, it caused an infinite loop and I need Pompy to test. :D

John Pasula [03-04-10 - 21:32]
Comment out registering the event.  Last time I did this, it caused an infinite loop and I need Pompy to test. :D
Filename
ARL.lua
diff --git a/ARL.lua b/ARL.lua
index 30b3482..b7646d0 100644
--- a/ARL.lua
+++ b/ARL.lua
@@ -541,7 +541,7 @@ function addon:OnEnable()
 	self:RegisterEvent("TRADE_SKILL_CLOSE")	-- Addon responds to tradeskill windows being closed.
 	self:RegisterEvent("TRADE_SKILL_UPDATE")
 	-- http://wowprogramming.com/docs/events/UPDATE_FACTION
-	self:RegisterEvent("UPDATE_FACTION")	-- Addon responds to faction changes by the player
+	--self:RegisterEvent("UPDATE_FACTION")	-- Addon responds to faction changes by the player

 	if addon.db.profile.scantrainers then
 		self:RegisterEvent("TRAINER_SHOW")