Diff

plugins/mod_console.lua @ 1920:c06945b9cc52

mod_console: Add module:list() to help
author Matthew Wild <mwild1@gmail.com>
date Mon, 05 Oct 2009 14:42:23 +0100
parent 1919:b641068d61a9
child 1908:27c1c6e6c583
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]]