summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/policy/policy.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/policy/policy.lua b/modules/policy/policy.lua
index 10755556..bf796a6d 100644
--- a/modules/policy/policy.lua
+++ b/modules/policy/policy.lua
@@ -937,7 +937,7 @@ policy.layer = {
loadstring('return ' .. act_str)()(state, req)
end
- if ffi.C.kr_rrl_request_begin(req) then return end
+ if ffi.C.ratelimiting_request_begin(req) then return end
local qry = req:initial() -- same as :current() but more descriptive
return policy.evaluate(policy.rules, req, qry, state)