From 5cf7235594f500145b46e7761cfae3f56c3ff8d0 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 6 Apr 2018 16:55:17 +0200 Subject: util.startup/prosodyctl: Delay enabling global protection until last (silences warning about CFG_PLUGINDIR) --- util/startup.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3