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
@@ -47,7 +47,7 @@ end
-- 'func' [function] function containing the custom code
-- 'append' [bool] optional variable, used to append custom
-- code instead of prepending it
function pfUI.api.Hook(name, func, append)
function pfUI.api.hooksecurefunc(name, func, append)
if not _G[name] then return end
pfUI.hooks[tostring(func)] = {}