diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-09 01:25:58 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-09 01:25:58 +0200 |
commit | fcca450715b5ccb94002dc9dd2babfe214955f4b (patch) | |
tree | a7e90b6f576bc528b0ad1033667f07f208df5497 /prosodyctl | |
parent | 0bdb7ab1f9104098e894c2acd033bc205081f61a (diff) | |
parent | 6dee387e59b090d0244d322fdf8e6a2077f2ef39 (diff) | |
download | prosody-fcca450715b5ccb94002dc9dd2babfe214955f4b.tar.gz prosody-fcca450715b5ccb94002dc9dd2babfe214955f4b.zip |
Merge 0.10->trunk
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -973,6 +973,13 @@ function commands.check(arg) print(" For more information see https://prosody.im/doc/storage"); end end + for host, config in pairs(config) do + if type(rawget(config, "storage")) == "string" and rawget(config, "default_storage") then + print(""); + print(" The 'default_storage' option is not needed if 'storage' is set to a string."); + break; + end + end local require_encryption = set.intersection(all_options, set.new({"require_encryption", "c2s_require_encryption", "s2s_require_encryption"})):empty(); local ssl = dependencies.softreq"ssl"; if not ssl then |