Quantcast

* Trying to fix a clique macro issue

James Whitehead II [04-14-07 - 18:19]
* Trying to fix a clique macro issue
Filename
Clique.lua
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)