* Fixed an issue where macros would fail if they had no text, and no index.
James Whitehead II [04-14-07 - 15:32]
* Fixed an issue where macros would fail if they had no text, and no index.
diff --git a/Clique.lua b/Clique.lua
index 8b5e154..f36fff0 100644
--- a/Clique.lua
+++ b/Clique.lua
@@ -66,7 +66,7 @@ function Clique:Enable()
},
blacklist = {
},
- tooltips = true,
+ tooltips = false,
}
}
@@ -448,7 +448,7 @@ function Clique:SetAttribute(entry, frame)
else
local unit = SecureButton_GetModifiedUnit(frame, entry.modifier.."unit"..button)
local macro = entry.arg2
- if unit then
+ if unit and macro then
macro = macro:gsub("target%s*=%s*clique", "target="..unit)
end