Bugfix: Adjust for new addon name
katkat42 [06-28-14 - 20:24]
Bugfix: Adjust for new addon name
diff --git a/AddonClearer.lua b/AddonClearer.lua
index 84c9a22..4718dcd 100644
--- a/AddonClearer.lua
+++ b/AddonClearer.lua
@@ -1,7 +1,7 @@
AddonClearer = {}
function AddonClearer:SetAddons(toDo)
- table.sort(ZO_AddOnsList.data, function(a,b) return a.data.addOnName == "AddonClearer" end) -- In place sorting. oh dear
+ table.sort(ZO_AddOnsList.data, function(a,b) return a.data.addOnFileName == "AddonClearer" end) -- In place sorting. oh dear
local thisAddonIndex = ZO_AddOnsList.data[1].data.index
local notEmpty = false