From ac77dc3db2dd02af1f9fcf2df4dd7a7a310c66ac Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 10 Apr 2025 11:21:13 +0100 Subject: [PATCH] prosodyctl check config: add recommendation to switch from admin_telnet to shell --- util/prosodyctl/check.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua index c46755af4..9d3c3cb9f 100644 --- a/util/prosodyctl/check.lua +++ b/util/prosodyctl/check.lua @@ -643,6 +643,12 @@ local function check(arg) print(" mod_posix is loaded in your configuration file, but it has"); print(" been deprecated. You can safely remove it."); end + if all_modules:contains("admin_telnet") then + print(""); + print(" mod_admin_telnet is being replaced by mod_admin_shell (prosodyctl shell)."); + print(" To update and ensure all commands are available, simply change \"admin_telnet\" to \"admin_shell\""); + print(" in your modules_enabled list."); + end local load_failures = {}; for mod_name in all_modules do