diff options
author | Kim Alvefur <zash@zash.se> | 2019-11-23 23:10:39 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-11-23 23:10:39 +0100 |
commit | 5c649dff87ecc21140bf07ed511e10b5f93417d1 (patch) | |
tree | 0f1a237cd284a7009b595ddceca2c21c8de3a28a | |
parent | 94f8d57fe4b3428973f0ba7b990915aa3abe3f7a (diff) | |
download | prosody-5c649dff87ecc21140bf07ed511e10b5f93417d1.tar.gz prosody-5c649dff87ecc21140bf07ed511e10b5f93417d1.zip |
prosodyctl check: Warn about conflict between mod_vcard and mod_vcard_legacy (#1469)
-rwxr-xr-x | prosodyctl | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -933,6 +933,10 @@ function commands.check(arg) print(" For more information see https://prosody.im/doc/storage"); end end + if all_modules:contains("vcard") and all_modules:contains("vcard_legacy") then + print(" Both mod_vcard_legacy and mod_vcard are enabled but they conflict"); + print(" with each other. Remove one."); + end for host, host_config in pairs(config) do --luacheck: ignore 213/host if type(rawget(host_config, "storage")) == "string" and rawget(host_config, "default_storage") then print(""); |