Skip to content

Commit e5ab9eb

Browse files
committed
coraza - fix coraza always called
1 parent 22e0ea8 commit e5ab9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coraza/coraza.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ end
2525

2626
function coraza:access()
2727
-- Check if needed
28-
if not self.is_needed then
28+
if not self:is_needed() then
2929
return self:ret(true, "coraza not activated")
3030
end
3131
-- Process phases 1 (headers) and 2 (body)

0 commit comments

Comments
 (0)