mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
migrator: Trick net.server into thinking the config is loaded
Fixes "Loading outside Prosody or Prosody not yet initialized"
This commit is contained in:
parent
cc0f3b6f24
commit
08e7a84274
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue