aboutsummaryrefslogtreecommitdiffstats
path: root/util/startup.lua
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
commit5cf7235594f500145b46e7761cfae3f56c3ff8d0 (patch)
tree7dcd85c77bf0a4a081a01feb9cfc2fa8ca4bf6b8 /util/startup.lua
parent0966771990f7fd5318b7efcb40f3f0ea20c810af (diff)
downloadprosody-5cf7235594f500145b46e7761cfae3f56c3ff8d0.tar.gz
prosody-5cf7235594f500145b46e7761cfae3f56c3ff8d0.zip
util.startup/prosodyctl: Delay enabling global protection until last (silences warning about CFG_PLUGINDIR)
Diffstat (limited to 'util/startup.lua')
-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()