diff prosody @ 1969:805f548aa57b

prosody: Move global protection earlier (to before modules are loaded, etc.)
author Matthew Wild <mwild1@gmail.com>
date Sat, 17 Oct 2009 10:54:28 +0100
parents ed654243eb5d
children a3bf6cb12752
line wrap: on
line diff
--- a/prosody	Sat Oct 17 10:53:31 2009 +0100
+++ b/prosody	Sat Oct 17 10:54:28 2009 +0100
@@ -330,8 +330,8 @@
 log("info", "Hello and welcome to Prosody version %s", prosody.version);
 load_secondary_libraries();
 init_data_store();
+init_global_protection();
 prepare_to_start();
-init_global_protection();
 
 eventmanager.fire_event("server-started");
 prosody.events.fire_event("server-started");