Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pyama committed Dec 20, 2023
1 parent 7a960db commit 7bd9f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion country_limiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (l *CountryLimiter) Rule(r *http.Request) (*rl.Rule, error) {
return noLimit, nil
}

if _, ok := l.countries["*"]; !ok {
if _, ok := l.countries["*"]; ok {
return limit, nil

}
Expand Down

0 comments on commit 7bd9f85

Please sign in to comment.