Software / code / prosody
Changeset
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 |
| parents | 13840:1b4f2d010141 |
| children | 13842:31fa834108bc 13843:87dd8639f08f |
| files | util/prosodyctl/check.lua |
| diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
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