aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-11-23 23:10:39 +0100
committerKim Alvefur <zash@zash.se>2019-11-23 23:10:39 +0100
commit704b463d2995c6981c6a96e55ee4196f580f5ea6 (patch)
tree0f1a237cd284a7009b595ddceca2c21c8de3a28a
parent17e77058d6d3a1e936f8d108a70dde4b3dd296a2 (diff)
downloadprosody-704b463d2995c6981c6a96e55ee4196f580f5ea6.tar.gz
prosody-704b463d2995c6981c6a96e55ee4196f580f5ea6.zip
prosodyctl check: Warn about conflict between mod_vcard and mod_vcard_legacy (#1469)
-rwxr-xr-xprosodyctl4
1 files changed, 4 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 405ef1f8..a732a73e 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -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("");