diff --git a/matrix/homeserver.cc b/matrix/homeserver.cc index f36bfa348..ad12f808a 100644 --- a/matrix/homeserver.cc +++ b/matrix/homeserver.cc @@ -467,6 +467,23 @@ ircd::m::homeserver::conf::conf(const struct opts &opts) } } { + for(const auto &[key, item] : ircd::conf::items) try + { + assert(item); + if(item->set_cb) + item->set_cb(); + } + catch(const std::exception &e) + { + log::error + { + "Failed to initialize conf item '%s' :%s", + key, + e.what() + }; + + throw; + } } size_t