aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-04-06 16:55:17 +0200
committerKim Alvefur <zash@zash.se>2018-04-06 16:55:17 +0200
commite91ebc0e7890c1fbac427452684e12d697ecadc7 (patch)
tree7dcd85c77bf0a4a081a01feb9cfc2fa8ca4bf6b8 /util
parent6f810e2837f21873681b29778dd6a1553f6f3f45 (diff)
downloadprosody-e91ebc0e7890c1fbac427452684e12d697ecadc7.tar.gz
prosody-e91ebc0e7890c1fbac427452684e12d697ecadc7.zip
util.startup/prosodyctl: Delay enabling global protection until last (silences warning about CFG_PLUGINDIR)
Diffstat (limited to 'util')
-rw-r--r--util/startup.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/startup.lua b/util/startup.lua
index a7ed333a..11500496 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -516,9 +516,9 @@ function startup.prosodyctl()
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()