0
0
Fork 0
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:
Jason Volk 2022-07-11 12:53:33 -07:00
parent 6ce5ab5b1d
commit 5e3ae3771d

View file

@ -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