Update init.lua

pull/216/head
midoks 3 years ago
parent bc1fd9a8af
commit 47544520e8
  1. 7
      plugins/op_waf/waf/lua/init.lua

@ -642,16 +642,15 @@ function waf()
-- black ip
if waf_ip_black() then return true end
-- ua check
if waf_user_agent() then return true end
if waf_url() then return true end
-- cc setting
if waf_drop() then return true end
if waf_cc_increase() then return true end
if waf_cc() then return true end
-- ua check
if waf_user_agent() then return true end
if waf_url() then return true end
-- cookie检查
if waf_cookie() then return true end

Loading…
Cancel
Save