Diff

util/prosodyctl/check.lua @ 13841:d01cfbb7fc4f 13.0

prosodyctl check config: add recommendation to switch from admin_telnet to shell
author Matthew Wild <mwild1@gmail.com>
date Thu, 10 Apr 2025 11:21:13 +0100
parent 13830:145b71d1283c
child 13870:8078eebf5601
line wrap: on
line diff
--- a/util/prosodyctl/check.lua	Thu Apr 10 11:19:48 2025 +0100
+++ b/util/prosodyctl/check.lua	Thu Apr 10 11:21:13 2025 +0100
@@ -643,6 +643,12 @@
 			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