Changeset

1920:c06945b9cc52

mod_console: Add module:list() to help
author Matthew Wild <mwild1@gmail.com>
date Mon, 05 Oct 2009 14:42:23 +0100
parents 1919:b641068d61a9
children 1921:5ac99cd46545
files plugins/mod_console.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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]]