Changeset

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
parents 10569:fdc2bae50100
children 10578:419ac5ef2d3d
files prosodyctl
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/prosodyctl	Sun Dec 16 02:56:11 2018 +0100
+++ b/prosodyctl	Tue Dec 31 02:48:49 2019 +0100
@@ -937,6 +937,11 @@
 			print("    Both mod_vcard_legacy and mod_vcard are enabled but they conflict");
 			print("    with each other. Remove one.");
 		end
+		if all_modules:contains("pep") and all_modules:contains("pep_simple") then
+			print("");
+			print("    Both mod_pep_simple and mod_pep 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("");