diff options
author | Matthew Wild <mwild1@gmail.com> | 2020-01-19 15:50:32 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2020-01-19 15:50:32 +0000 |
commit | 73355a4f31286593b29cdc44cd1d03d705cf78b3 (patch) | |
tree | ccf44ef3b4abbc11f1d3c818d33c86cd769e7904 | |
parent | 0d5f5c92298924834f0e965e3cc5f49dac8d4f2b (diff) | |
download | prosody-73355a4f31286593b29cdc44cd1d03d705cf78b3.tar.gz prosody-73355a4f31286593b29cdc44cd1d03d705cf78b3.zip |
util.startup: Ensure prosody.opts exists even when no options provided0.11.5
-rw-r--r-- | util/startup.lua | 2 |
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() |