From 3795a262fe6506d8071ea2a74eb0fa54ffaa8ed6 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sun, 13 Sep 2009 01:26:21 +0200 Subject: [PATCH] Should be avoiding possible conflicts aswell --- Broker_Equipment.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]=]} -- 1.7.9.5