Skip to content

Commit 3dee620

Browse files
committed
Fix repsheet cache argument order
1 parent 907eab2 commit 3dee620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ngx_http_bot_verifier_cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ ngx_http_bot_verifier_module_persist_verification_status(ngx_http_bot_verifier_m
102102
} else if (status == NGX_DECLINED) {
103103
reply = redisCommand(loc_conf->redis.connection, "SETEX %s:bvs %d %s", address, loc_conf->redis.expiry, "failure");
104104
if (loc_conf->repsheet_enabled) {
105-
reply = redisCommand(loc_conf->redis.connection, "REPSHEET.BLACKLIST %s %d %s", address, loc_conf->redis.expiry, "http.bot.provider_validation");
105+
reply = redisCommand(loc_conf->redis.connection, "REPSHEET.BLACKLIST %s %s %d", address, "http.bot.provider_validation", loc_conf->redis.expiry);
106106
}
107107
}
108108

0 commit comments

Comments
 (0)