mod_console: Add missing hosts:list() command
[prosody.git] / prosody
diff --git a/prosody b/prosody
index 58996fb229576762d78e37a93aee7fba047e52ff..dc28c771b2cee7c97935e4739b95790df20624c0 100755 (executable)
--- a/prosody
+++ b/prosody
@@ -330,8 +330,8 @@ read_version();
 log("info", "Hello and welcome to Prosody version %s", prosody.version);
 load_secondary_libraries();
 init_data_store();
-prepare_to_start();
 init_global_protection();
+prepare_to_start();
 
 eventmanager.fire_event("server-started");
 prosody.events.fire_event("server-started");