prosodyctl
branch0.11
changeset 10436 7b5a3de26f57
parent 10261 26afb1a6d086
child 10438 8f709577fe8e
child 10581 88daa0231a9b
equal deleted inserted replaced
10435:3db8372e203c 10436: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.");