Originally Posted by runamonk
This will work for now until we can get a more correct way to do it.
|
What did you mean by "a more correct way to do it"? Yours is fine, I'd change it a bit though.
Lua Code:
button:SetScript('OnClick', function(self, button)
if not InCombatLockdown() and button == "RightButton" then
CancelUnitBuff("player", self:GetID(), self.filter)
end
end)