api: rename to hooksecurefunc

This commit is contained in:
shagu
2017-03-01 19:48:48 +01:00
parent 4e98f8096f
commit 6402e29b1b
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ pfUI:RegisterModule("cooldown", function ()
end
-- hook
Hook("CooldownFrame_SetTimer", function(this, start, duration, enable)
hooksecurefunc("CooldownFrame_SetTimer", function(this, start, duration, enable)
-- realign guessed cooldown frames
if this:GetParent() and this:GetParent():GetWidth() / 36 > 0 then
this:SetScale(this:GetParent():GetWidth() / 36)