modify a bug

pull/63/merge^2
ibuler 2015-09-14 15:23:50 +08:00
parent de95c77575
commit c1148409c4
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ function denycc()
local token = getClientIp()..uri local token = getClientIp()..uri
local limit = ngx.shared.limit local limit = ngx.shared.limit
local req,_ = limit:get(token) local req,_ = limit:get(token)
local ip = getClientIp local ip = getClientIp()
local block,_ = limit:get(ip) local block,_ = limit:get(ip)
if block then if block then