aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-01-19 15:50:32 +0000
committerMatthew Wild <mwild1@gmail.com>2020-01-19 15:50:32 +0000
commit09ae4c1b3375f7e7d70f371ae999f7de897b60ea (patch)
treeccf44ef3b4abbc11f1d3c818d33c86cd769e7904 /util
parent3a1998a4e472c433d8c916bd47397948f5515b3b (diff)
downloadprosody-09ae4c1b3375f7e7d70f371ae999f7de897b60ea.tar.gz
prosody-09ae4c1b3375f7e7d70f371ae999f7de897b60ea.zip
util.startup: Ensure prosody.opts exists even when no options providedvault/0.11.5
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 35be3162..24ed6026 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -17,6 +17,7 @@ local value_params = { config = true };
function startup.parse_args()
local parsed_opts = {};
+ prosody.opts = parsed_opts;
if #arg == 0 then
return;
@@ -64,7 +65,6 @@ function startup.parse_args()
end
parsed_opts[param_k] = param_v;
end
- prosody.opts = parsed_opts;
end
function startup.read_config()