Software /
code /
prosody
Changeset
10432:7b5a3de26f57 0.11
prosodyctl check: Warn about conflict between mod_vcard and mod_vcard_legacy (#1469)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Nov 2019 23:10:39 +0100 |
parents | 10431:3db8372e203c |
children | 10433:7777f25d5266 |
files | prosodyctl |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/prosodyctl Sat Nov 23 01:05:28 2019 +0100 +++ b/prosodyctl Sat Nov 23 23:10:39 2019 +0100 @@ -933,6 +933,10 @@ 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("");