mirror of
https://github.com/matrix-construct/construct
synced 2024-05-19 11:23:45 +02:00
ircd:Ⓜ️:homeserver: Fix database conf values overriding environmental values.
This commit is contained in:
parent
6ce5ab5b1d
commit
5e3ae3771d
|
@ -809,6 +809,10 @@ try
|
|||
if(conf::exists(key) && !conf::persists(key))
|
||||
return false;
|
||||
|
||||
// Conf items set by environment variables take precedence over db values.
|
||||
if(conf::environ(key))
|
||||
return false;
|
||||
|
||||
log::debug
|
||||
{
|
||||
"Updating conf [%s] => [%s]", key, value
|
||||
|
|
Loading…
Reference in a new issue