Changeset

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
parents 8733:6a234e77c99f
children 8735:856a40ec4a0a
files util/startup.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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()