aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2025-04-10 11:21:13 +0100
committerMatthew Wild <mwild1@gmail.com>2025-04-10 11:21:13 +0100
commitac77dc3db2dd02af1f9fcf2df4dd7a7a310c66ac (patch)
tree5a347787cb397bbe95e021ae15c130ce453e095c /util/prosodyctl
parent22acb5626f84e84a23c3a6807181a02385fb29e2 (diff)
downloadprosody-ac77dc3db2dd02af1f9fcf2df4dd7a7a310c66ac.tar.gz
prosody-ac77dc3db2dd02af1f9fcf2df4dd7a7a310c66ac.zip
prosodyctl check config: add recommendation to switch from admin_telnet to shell
Diffstat (limited to 'util/prosodyctl')
-rw-r--r--util/prosodyctl/check.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua
index c46755af..9d3c3cb9 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