aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-17 10:54:28 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-17 10:54:28 +0100
commitc3e3b43f1c291f0cf202d770a12963db3adb4d16 (patch)
tree5a50394c0034fe747762c1fce472525cd4738822 /prosody
parenta8d4e40b2b76eb85b7776d6547af1ffd6d2059c8 (diff)
downloadprosody-c3e3b43f1c291f0cf202d770a12963db3adb4d16.tar.gz
prosody-c3e3b43f1c291f0cf202d770a12963db3adb4d16.zip
prosody: Move global protection earlier (to before modules are loaded, etc.)
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosody b/prosody
index 58996fb2..dc28c771 100755
--- 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");