Comparison

prosodyctl @ 10577:88daa0231a9b 0.11

prosodyctl check: Warn about conflict between mod_pep and mod_pep_simple Related #1483
author Kim Alvefur <zash@zash.se>
date Tue, 31 Dec 2019 02:48:49 +0100
parent 10432:7b5a3de26f57
child 10578:419ac5ef2d3d
comparison
equal deleted inserted replaced
10569:fdc2bae50100 10577:88daa0231a9b
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 935 end
936 if all_modules:contains("vcard") and all_modules:contains("vcard_legacy") then 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"); 937 print(" Both mod_vcard_legacy and mod_vcard are enabled but they conflict");
938 print(" with each other. Remove one.");
939 end
940 if all_modules:contains("pep") and all_modules:contains("pep_simple") then
941 print("");
942 print(" Both mod_pep_simple and mod_pep are enabled but they conflict");
938 print(" with each other. Remove one."); 943 print(" with each other. Remove one.");
939 end 944 end
940 for host, host_config in pairs(config) do --luacheck: ignore 213/host 945 for host, host_config in pairs(config) do --luacheck: ignore 213/host
941 if type(rawget(host_config, "storage")) == "string" and rawget(host_config, "default_storage") then 946 if type(rawget(host_config, "storage")) == "string" and rawget(host_config, "default_storage") then
942 print(""); 947 print("");