Software /
code /
prosody
Changeset
10517:6e1163fa2cd2
mod_admin_telnet: Include config:get() in help text
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 22 Dec 2019 20:10:20 +0100 |
parents | 10516:d3e6941546a8 |
children | 10521:cbb2c3f8bb1d |
files | plugins/mod_admin_telnet.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Sun Dec 22 08:42:12 2019 +0000 +++ b/plugins/mod_admin_telnet.lua Sun Dec 22 20:10:20 2019 +0100 @@ -288,6 +288,7 @@ print [[xmpp:ping(localhost, remotehost) -- Sends a ping to a remote XMPP server and reports the response]] elseif section == "config" then print [[config:reload() - Reload the server configuration. Modules may need to be reloaded for changes to take effect.]] + print [[config:get([host,] option) - Show the value of a config option.]] elseif section == "console" then print [[Hey! Welcome to Prosody's admin console.]] print [[First thing, if you're ever wondering how to get out, simply type 'quit'.]]