mod_console: Add module:list() to help

Mon, 05 Oct 2009 14:42:23 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 05 Oct 2009 14:42:23 +0100
changeset 1920
c06945b9cc52
parent 1919
b641068d61a9
child 1921
5ac99cd46545

mod_console: Add module:list() to help

plugins/mod_console.lua file | annotate | diff | comparison | revisions
--- 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]]

mercurial