From 625c6dab1291f4c5f2e98c53b9034d42b75774ff Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Sat, 14 Apr 2007 18:24:13 +0000 Subject: [PATCH] * tostring() on entry.arg2 --- Clique.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Clique.lua b/Clique.lua index 88d2b39..1914922 100644 --- a/Clique.lua +++ b/Clique.lua @@ -447,7 +447,7 @@ function Clique:SetAttribute(entry, frame) frame:SetAttribute(entry.modifier.."macro"..button, entry.arg1) else local unit = SecureButton_GetModifiedUnit(frame, entry.modifier.."unit"..button) - local macro = entry.arg2 + local macro = tostring(entry.arg2) if unit and macro then macro = macro:gsub("target%s*=%s*clique", "target="..unit) end -- 1.7.9.5