diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-10-05 14:42:23 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-10-05 14:42:23 +0100 |
commit | b2e6c42ea05680b91941133fa64c0e6d9cdae81c (patch) | |
tree | 0d23f3289238de516573afb3808c9c00ce3b3900 /plugins | |
parent | 737705b68e0b2b6f6d54710b931e7b979340a85d (diff) | |
download | prosody-b2e6c42ea05680b91941133fa64c0e6d9cdae81c.tar.gz prosody-b2e6c42ea05680b91941133fa64c0e6d9cdae81c.zip |
mod_console: Add module:list() to help
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_console.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua index 112d2492..b9d30716 100644 --- a/plugins/mod_console.lua +++ b/plugins/mod_console.lua @@ -180,6 +180,7 @@ function commands.help(session, data) print [[module:load(module, host) - Load the specified module on the specified host (or all hosts if none given)]] print [[module:reload(module, host) - The same, but unloads and loads the module (saving state if the module supports it)]] print [[module:unload(module, host) - The same, but just unloads the module from memory]] + print [[module:list(host) - List the modules loaded on the specified host]] elseif section == "server" then print [[server:version() - Show the server's version number]] print [[server:uptime() - Show how long the server has been running]] |