diff --git a/pfUI.lua b/pfUI.lua index f78929b5..0e9425b3 100644 --- a/pfUI.lua +++ b/pfUI.lua @@ -95,7 +95,7 @@ end local tocs = { "", "-master", "-tbc", "-wotlk" } for _, name in pairs(tocs) do local current = string.format("pfUI%s", name) - local _, title = GetAddOnInfo(current) + local title = C_AddOns.GetAddOnName(current) if title then pfUI.name = current pfUI.path = "Interface\\AddOns\\" .. current