diff options
author | Erik Johnston <erik@matrix.org> | 2019-09-25 17:22:33 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-09-25 17:22:33 +0100 |
commit | 39b50ad42a8cf784e627959e9652589338121ccd (patch) | |
tree | 77e1ee6c4c94cc1d6fdf642a265da5448fa917cc /synapse/storage/client_ips.py | |
parent | Newsfile (diff) | |
download | synapse-39b50ad42a8cf784e627959e9652589338121ccd.tar.xz |
Review comments
Diffstat (limited to 'synapse/storage/client_ips.py')
-rw-r--r-- | synapse/storage/client_ips.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/client_ips.py b/synapse/storage/client_ips.py index 176c812b1f..a4d40dfa1e 100644 --- a/synapse/storage/client_ips.py +++ b/synapse/storage/client_ips.py @@ -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 |