From 75bce833261f64334733b285c46812291701a29e Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Sat, 30 Dec 2006 17:09:37 +0000 Subject: [PATCH] * Fixed an issue with profile changes due to empty blacklist --- Clique.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Clique.lua b/Clique.lua index 1720602..0ba3af0 100644 --- a/Clique.lua +++ b/Clique.lua @@ -301,6 +301,7 @@ end function Clique:DONGLE_PROFILE_CHANGED(event, addon, svname, name) if addon == "Clique" then self:PrintF(L.PROFILE_CHANGED, name) + for name,set in pairs(self.clicksets) do for modifier,entry in pairs(set) do self:DeleteAction(entry) @@ -335,7 +336,7 @@ end function Clique:SetAttribute(entry, frame) local name = frame:GetName() - if self.profile.blacklist[name] then + if self.profile.blacklist and self.profile.blacklist[name] then return end @@ -402,7 +403,7 @@ end function Clique:DeleteAttribute(entry, frame) local name = frame:GetName() - if self.profile.blacklist[name] then + if self.profile.blacklist and self.profile.blacklist[name] then return end -- 1.7.9.5