Changeset

1907:1dd4443e7d93

mod_console: Add module:list() to help
author Matthew Wild <mwild1@gmail.com>
date Mon, 05 Oct 2009 14:42:23 +0100
parents 1906:88c61368e669
children 1908:27c1c6e6c583 1915:e9d5406caf8c
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]]