mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
bw - fix typo in blacklist core
This commit is contained in:
parent
0867846f83
commit
d3cfbfec6e
1 changed files with 0 additions and 3 deletions
|
|
@ -161,9 +161,6 @@ function blacklist:access()
|
|||
self.logger:log(ERR, "error while adding element to cache : " .. err)
|
||||
end
|
||||
if blacklisted ~= "ok" then
|
||||
local data = {}
|
||||
data["id"] = "blacklisted-" ..
|
||||
data["method"] = self.ctx.bw.request_method
|
||||
return self:ret(
|
||||
true,
|
||||
k .. " is blacklisted (info : " .. blacklisted .. ")",
|
||||
|
|
|
|||
Loading…
Reference in a new issue