Software /
code /
prosody
Diff
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 |
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("");