equal
deleted
inserted
replaced
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."); |