diff options
author | Kim Alvefur <zash@zash.se> | 2019-07-26 21:13:17 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-07-26 21:13:17 +0200 |
commit | a8db3548e41edddef094c82ec1b8029834a5c47f (patch) | |
tree | f5c9faf3f72b18a9cffcb2901dc119b281028d3a /plugins/mod_admin_telnet.lua | |
parent | 1ede2571be5c8c7fa75c1be64b9951b5898915e8 (diff) | |
download | prosody-a8db3548e41edddef094c82ec1b8029834a5c47f.tar.gz prosody-a8db3548e41edddef094c82ec1b8029834a5c47f.zip |
mod_admin_telnet: Add xmpp:ping to help
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 40160765..7f324999 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -239,6 +239,7 @@ function commands.help(session, data) print [[server - Uptime, version, shutting down, etc.]] print [[port - Commands to manage ports the server is listening on]] print [[dns - Commands to manage and inspect the internal DNS resolver]] + print [[xmpp - Commands for sending XMPP stanzas]] print [[config - Reloading the configuration, etc.]] print [[console - Help regarding the console itself]] elseif section == "c2s" then @@ -282,6 +283,8 @@ function commands.help(session, data) print [[dns:setnameserver(nameserver) - Replace the list of name servers with the supplied one]] print [[dns:purge() - Clear the DNS cache]] print [[dns:cache() - Show cached records]] + elseif section == "xmpp" then + 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.]] elseif section == "console" then |