diff options
author | Kim Alvefur <zash@zash.se> | 2021-07-29 14:06:14 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-07-29 14:06:14 +0200 |
commit | 08e7a84274c58e15a00fff28e0fb27ac66272305 (patch) | |
tree | b0113b7fe136a1d5f4873741386800e5135cdfe9 /tools | |
parent | cc0f3b6f24ee497b12331359cee859649208d553 (diff) | |
download | prosody-08e7a84274c58e15a00fff28e0fb27ac66272305.tar.gz prosody-08e7a84274c58e15a00fff28e0fb27ac66272305.zip |
migrator: Trick net.server into thinking the config is loaded
Fixes "Loading outside Prosody or Prosody not yet initialized"
Diffstat (limited to 'tools')
-rw-r--r-- | tools/migration/prosody-migrator.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/migration/prosody-migrator.lua b/tools/migration/prosody-migrator.lua index a65b2141..976feb7d 100644 --- a/tools/migration/prosody-migrator.lua +++ b/tools/migration/prosody-migrator.lua @@ -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 |