0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 15:00:51 +01:00

ircd:Ⓜ️:homeserver: Additional construction conditions.

This commit is contained in:
Jason Volk 2019-10-04 14:17:24 -07:00
parent a796d33170
commit 6122a7eb1f

View file

@ -228,7 +228,12 @@ ircd::m::homeserver::homeserver(const struct opts *const &opts)
if(primary == this && dbs::events && sequence(*dbs::events) == 0) if(primary == this && dbs::events && sequence(*dbs::events) == 0)
bootstrap(*this); bootstrap(*this);
if(primary == this && conf)
conf->load();
if(key && !key->verify_keys.empty())
m::keys::cache::set(key->verify_keys); m::keys::cache::set(key->verify_keys);
signon(*this); signon(*this);
} }