From 290f9285592775374e7e1bbee7fefdc5919b9cca Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 23 Nov 2019 23:10:39 +0100 Subject: prosodyctl check: Warn about conflict between mod_vcard and mod_vcard_legacy (#1469) --- prosodyctl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'prosodyctl') 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(""); -- cgit v1.2.3