Should be avoiding possible conflicts aswell
Adrian L Lange [09-12-09 - 23:26]
Should be avoiding possible conflicts aswell
diff --git a/Broker_Equipment.lua b/Broker_Equipment.lua
index 62ff91d..85eac1d 100644
--- a/Broker_Equipment.lua
+++ b/Broker_Equipment.lua
@@ -168,8 +168,8 @@ function addon:initialize(level)
UIDropDownMenu_AddButton(info, level)
end
-function addon:ADDON_LOADED(event, addon)
- if(addon ~= 'Broker_Equipment') then return end
+function addon:ADDON_LOADED(event, name)
+ if(name ~= 'Broker_Equipment') then return end
Broker_EquipmentDB = Broker_EquipmentDB or {text = L.NOSET, icon = [=[Interface\PaperDollInfoFrame\UI-EquipmentManager-Toggle]=]}