bw - fix typo in blacklist core

This commit is contained in:
florian 2024-01-04 11:41:18 +01:00
parent 0867846f83
commit d3cfbfec6e
No known key found for this signature in database
GPG key ID: 93EE47CC3D061500

View file

@ -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 .. ")",