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'.]] |