Skip to content

Commit

Permalink
Fix repsheet cache argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
abedra committed Jun 25, 2019
1 parent 907eab2 commit 3dee620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngx_http_bot_verifier_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ ngx_http_bot_verifier_module_persist_verification_status(ngx_http_bot_verifier_m
} else if (status == NGX_DECLINED) {
reply = redisCommand(loc_conf->redis.connection, "SETEX %s:bvs %d %s", address, loc_conf->redis.expiry, "failure");
if (loc_conf->repsheet_enabled) {
reply = redisCommand(loc_conf->redis.connection, "REPSHEET.BLACKLIST %s %d %s", address, loc_conf->redis.expiry, "http.bot.provider_validation");
reply = redisCommand(loc_conf->redis.connection, "REPSHEET.BLACKLIST %s %s %d", address, "http.bot.provider_validation", loc_conf->redis.expiry);
}
}

Expand Down

0 comments on commit 3dee620

Please sign in to comment.