migrator: Trick net.server into thinking the config is loaded

Fixes "Loading outside Prosody or Prosody not yet initialized"
This commit is contained in:
Kim Alvefur 2021-07-29 14:06:14 +02:00
parent cc0f3b6f24
commit 08e7a84274

View file

@ -51,6 +51,7 @@ do
startup.switch_user();
startup.check_dependencies();
startup.log_startup_warnings();
prosody.config_loaded = true;
startup.load_libraries();
startup.init_http_client();
end