prosody: Move global protection earlier (to before modules are loaded, etc.)

Sat, 17 Oct 2009 10:54:28 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 17 Oct 2009 10:54:28 +0100
changeset 1969
805f548aa57b
parent 1968
ed654243eb5d
child 1970
edab0c61fc02

prosody: Move global protection earlier (to before modules are loaded, etc.)

prosody file | annotate | diff | comparison | revisions
--- 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");

mercurial