# HG changeset patch # User Matthew Wild # Date 1254750143 -3600 # Node ID 1dd4443e7d93a68ec1b13eac0441034a672ecfd6 # Parent 88c61368e6692858d66dbc28061a4708ac1f1730 mod_console: Add module:list() to help diff -r 88c61368e669 -r 1dd4443e7d93 plugins/mod_console.lua --- a/plugins/mod_console.lua Mon Oct 05 14:40:01 2009 +0100 +++ b/plugins/mod_console.lua Mon Oct 05 14:42:23 2009 +0100 @@ -180,6 +180,7 @@ 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]]