From dbac6efa652763196d386a3424bbe5ed942c6945 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Sat, 14 Apr 2007 18:19:50 +0000 Subject: [PATCH] * Trying to fix a clique macro issue --- Clique.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Clique.lua b/Clique.lua index d27913f..88d2b39 100644 --- a/Clique.lua +++ b/Clique.lua @@ -443,7 +443,7 @@ function Clique:SetAttribute(entry, frame) frame:SetAttribute(entry.modifier.."unit"..button, entry.arg4) elseif entry.type == "macro" then frame:SetAttribute(entry.modifier.."type"..button, entry.type) - if entry.arg1 and type(entry.arg1) == "string" and entry.arg1:match("[^%s]") then + if entry.arg1 then frame:SetAttribute(entry.modifier.."macro"..button, entry.arg1) else local unit = SecureButton_GetModifiedUnit(frame, entry.modifier.."unit"..button) -- 1.7.9.5