comparison bossmods.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 fcc0d0ff5832
children 095ee38508e8
comparison
equal deleted inserted replaced
66:43913e02a1ef 67:c01875b275ca
1 local addon = select(2,...) 1 local addon = select(2,...)
2 if addon.NOLOAD then return end
2 3
3 --[==[ 4 --[==[
4 Here's the control flow: 5 Here's the control flow:
5 (1) This file or another addon calls 6 (1) This file or another addon calls
6 addon:register_boss_mod("Foo",register[,unregister]) 7 addon:register_boss_mod("Foo",register[,unregister])