From 964d68a2e687dac3dc1e79ba8e9189cfa9ee87c6 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 31 Dec 2019 02:48:49 +0100 Subject: prosodyctl check: Warn about conflict between mod_pep and mod_pep_simple Related #1483 --- prosodyctl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/prosodyctl b/prosodyctl index a732a73e..3242218d 100755 --- a/prosodyctl +++ b/prosodyctl @@ -937,6 +937,11 @@ function commands.check(arg) 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(""); -- cgit v1.2.3