Software /
code /
prosody
Comparison
plugins/mod_console.lua @ 2870:471c3acffb2a
mod_console: Uncomment the help for server:shutdown() - thanks darkrain
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 22 Feb 2010 01:02:16 +0000 |
parent | 2087:5efd79871205 |
child | 2923:b7049746bd29 |
comparison
equal
deleted
inserted
replaced
2869:5ed986d44159 | 2870:471c3acffb2a |
---|---|
190 print [[module:unload(module, host) - The same, but just unloads the module from memory]] | 190 print [[module:unload(module, host) - The same, but just unloads the module from memory]] |
191 print [[module:list(host) - List the modules loaded on the specified host]] | 191 print [[module:list(host) - List the modules loaded on the specified host]] |
192 elseif section == "server" then | 192 elseif section == "server" then |
193 print [[server:version() - Show the server's version number]] | 193 print [[server:version() - Show the server's version number]] |
194 print [[server:uptime() - Show how long the server has been running]] | 194 print [[server:uptime() - Show how long the server has been running]] |
195 --print [[server:shutdown(reason) - Shut down the server, with an optional reason to be broadcast to all connections]] | 195 print [[server:shutdown(reason) - Shut down the server, with an optional reason to be broadcast to all connections]] |
196 elseif section == "config" then | 196 elseif section == "config" then |
197 print [[config:reload() - Reload the server configuration. Modules may need to be reloaded for changes to take effect.]] | 197 print [[config:reload() - Reload the server configuration. Modules may need to be reloaded for changes to take effect.]] |
198 elseif section == "console" then | 198 elseif section == "console" then |
199 print [[Hey! Welcome to Prosody's admin console.]] | 199 print [[Hey! Welcome to Prosody's admin console.]] |
200 print [[First thing, if you're ever wondering how to get out, simply type 'quit'.]] | 200 print [[First thing, if you're ever wondering how to get out, simply type 'quit'.]] |