mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 12:08:32 +03:00
Pop bind_address
This commit is contained in:
parent
edd6cdfc9a
commit
b1dfd20292
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class ServerConfig(Config):
|
|||
self.listeners = config.get("listeners", [])
|
||||
|
||||
for listener in self.listeners:
|
||||
bind_address = listener.get("bind_address", None)
|
||||
bind_address = listener.pop("bind_address", None)
|
||||
bind_addresses = listener.setdefault("bind_addresses", [])
|
||||
|
||||
if bind_address:
|
||||
|
|
Loading…
Reference in a new issue