Changeset

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 1968:ed654243eb5d
children 1970:edab0c61fc02
files prosody
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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");