diff gui.lua @ 67:c01875b275ca

Do not use UnitName on other people during RAID_ROSTER_UPDATE, as they may be a weed (thank you Calvieri for unknowingly eating a lifegiving seed and exposing this bug). Be more informative to the user about errors during load. Do not try to run other files if a load-time error happens, as it only generates cascading noise.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Tue, 08 May 2012 02:41:23 +0000
parents 69fd720f853e
children 8442272a8418
line wrap: on
line diff
--- a/gui.lua	Fri Apr 27 10:11:56 2012 +0000
+++ b/gui.lua	Tue May 08 02:41:23 2012 +0000
@@ -1,4 +1,5 @@
 local addon = select(2,...)
+if addon.NOLOAD then return end
 
 --[[
 Purely the AceGUI-related routines, and the subroutines needed for support.
@@ -1960,6 +1961,7 @@
 		-- try to get everything to update, rebuild, refresh... ugh, no
 		self.display:Hide()
 	end
+	if self.NOLOAD then return end   -- don't even try
 
 	-- This probably causes taint... hm.
 	local prev_fade_time = UIDROPDOWNMENU_SHOW_TIME