Diff

util/startup.lua @ 8734:36d49a9c5e88

util.startup/prosodyctl: Delay enabling global protection until last (silences warning about CFG_PLUGINDIR)
author Kim Alvefur <zash@zash.se>
date Fri, 06 Apr 2018 16:55:17 +0200
parent 8733:6a234e77c99f
child 8748:2fdeb979cc7c
line wrap: on
line diff
--- a/util/startup.lua	Fri Apr 06 16:50:51 2018 +0200
+++ b/util/startup.lua	Fri Apr 06 16:55:17 2018 +0200
@@ -516,9 +516,9 @@
 	startup.log_dependency_warnings();
 	startup.check_unwriteable();
 	startup.load_libraries();
-	startup.init_global_protection();
 	startup.init_http_client();
 	startup.make_dummy_hosts();
+	startup.init_global_protection();
 end
 
 function startup.prosody()