mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix: use right function to get the security mode in limit plugin
This commit is contained in:
parent
d809f2f8a0
commit
53ac7975a6
2 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ repos:
|
|||
name: Prettier Code Formatter
|
||||
|
||||
- repo: https://github.com/JohnnyMorganz/StyLua
|
||||
rev: 84c370104d6a8d1eef00c80a3ebd42f7033aaaad # frozen: v0.20.0
|
||||
rev: f4b9d628b48d1a8b21fdc38967831640de1ba09f # frozen: v2.0.1
|
||||
hooks:
|
||||
- id: stylua-github
|
||||
exclude: ^src/(bw/lua/middleclass.lua|common/core/antibot/captcha.lua)$
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ local has_variable = utils.has_variable
|
|||
local get_multiple_variables = utils.get_multiple_variables
|
||||
local is_whitelisted = utils.is_whitelisted
|
||||
local regex_match = utils.regex_match
|
||||
local security_mode = utils.get_security_mode
|
||||
local get_security_mode = utils.get_security_mode
|
||||
local time = os.time
|
||||
local date = os.date
|
||||
local encode = cjson.encode
|
||||
|
|
|
|||
Loading…
Reference in a new issue