Software /
code /
prosody
Comparison
prosodyctl @ 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 |
parent | 10257:26afb1a6d086 |
child | 10434:8f709577fe8e |
child | 10577:88daa0231a9b |
comparison
equal
deleted
inserted
replaced
10431:3db8372e203c | 10432:7b5a3de26f57 |
---|---|
930 print(" but be specified in the 'storage' option."); | 930 print(" but be specified in the 'storage' option."); |
931 print(" Remove '"..mod.."' from modules_enabled and instead add"); | 931 print(" Remove '"..mod.."' from modules_enabled and instead add"); |
932 print(" storage = '"..mod:match("^storage_(.*)").."'"); | 932 print(" storage = '"..mod:match("^storage_(.*)").."'"); |
933 print(" For more information see https://prosody.im/doc/storage"); | 933 print(" For more information see https://prosody.im/doc/storage"); |
934 end | 934 end |
935 end | |
936 if all_modules:contains("vcard") and all_modules:contains("vcard_legacy") then | |
937 print(" Both mod_vcard_legacy and mod_vcard are enabled but they conflict"); | |
938 print(" with each other. Remove one."); | |
935 end | 939 end |
936 for host, host_config in pairs(config) do --luacheck: ignore 213/host | 940 for host, host_config in pairs(config) do --luacheck: ignore 213/host |
937 if type(rawget(host_config, "storage")) == "string" and rawget(host_config, "default_storage") then | 941 if type(rawget(host_config, "storage")) == "string" and rawget(host_config, "default_storage") then |
938 print(""); | 942 print(""); |
939 print(" The 'default_storage' option is not needed if 'storage' is set to a string."); | 943 print(" The 'default_storage' option is not needed if 'storage' is set to a string."); |