mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 16:05:00 -04:00
Review comments
This commit is contained in:
parent
f8b02c5420
commit
39b50ad42a
4 changed files with 4 additions and 7 deletions
|
@ -506,7 +506,7 @@ class ClientIpStore(background_updates.BackgroundUpdateStore):
|
|||
"""Removes entries in user IPs older than the configured period.
|
||||
"""
|
||||
|
||||
if not self.user_ips_max_age:
|
||||
if self.user_ips_max_age is None:
|
||||
# Nothing to do
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue