mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
decorator.py: Use the singular 'they' pronoun.
This commit is contained in:
committed by
Tim Abbott
parent
5a3d3ae291
commit
8c4ee83980
@@ -652,7 +652,7 @@ def rate_limit_user(request, user, domain):
|
||||
request._ratelimit_applied_limits = True
|
||||
request._ratelimit_secs_to_freedom = time
|
||||
request._ratelimit_over_limit = ratelimited
|
||||
# Abort this request if the user is over her rate limits
|
||||
# Abort this request if the user is over their rate limits
|
||||
if ratelimited:
|
||||
statsd.incr("ratelimiter.limited.%s.%s" % (type(user), user.id))
|
||||
raise RateLimited()
|
||||
|
||||
Reference in New Issue
Block a user