Software /
code /
prosody
Comparison
plugins/mod_admin_telnet.lua @ 5159:0638ff1e1a5a
mod_admin_telnet: Fix copypaste error in user section of help
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 28 Sep 2012 11:59:37 +0200 |
parent | 5158:c363e7e77f79 |
child | 5167:ecd9e300ec94 |
comparison
equal
deleted
inserted
replaced
5158:c363e7e77f79 | 5159:0638ff1e1a5a |
---|---|
226 print [[host:list() - List the currently-activated hosts]] | 226 print [[host:list() - List the currently-activated hosts]] |
227 elseif section == "user" then | 227 elseif section == "user" then |
228 print [[user:create(jid, password) - Create the specified user account]] | 228 print [[user:create(jid, password) - Create the specified user account]] |
229 print [[user:password(jid, password) - Set the password for the specified user account]] | 229 print [[user:password(jid, password) - Set the password for the specified user account]] |
230 print [[user:delete(jid) - Permanently remove the specified user account]] | 230 print [[user:delete(jid) - Permanently remove the specified user account]] |
231 print [[host:list(hostname) - List users on the specified host]] | 231 print [[user:list(hostname) - List users on the specified host]] |
232 elseif section == "server" then | 232 elseif section == "server" then |
233 print [[server:version() - Show the server's version number]] | 233 print [[server:version() - Show the server's version number]] |
234 print [[server:uptime() - Show how long the server has been running]] | 234 print [[server:uptime() - Show how long the server has been running]] |
235 print [[server:shutdown(reason) - Shut down the server, with an optional reason to be broadcast to all connections]] | 235 print [[server:shutdown(reason) - Shut down the server, with an optional reason to be broadcast to all connections]] |
236 elseif section == "config" then | 236 elseif section == "config" then |