equal
deleted
inserted
replaced
359 show_usage([[deluser JID]], [[Permanently remove the specified user account from Prosody]]); |
359 show_usage([[deluser JID]], [[Permanently remove the specified user account from Prosody]]); |
360 return 1; |
360 return 1; |
361 end |
361 end |
362 local user, host = jid_split(arg[1]); |
362 local user, host = jid_split(arg[1]); |
363 if not user and host then |
363 if not user and host then |
364 show_message [[Failed to understand JID, please supply the JID you want to set the password for]] |
364 show_message [[Failed to understand JID, please supply the JID to the user account you want to delete]] |
365 show_usage [[passwd user@host]] |
365 show_usage [[deluser user@host]] |
366 return 1; |
366 return 1; |
367 end |
367 end |
368 |
368 |
369 if not host then |
369 if not host then |
370 show_message [[Please specify a JID, including a host. e.g. alice@example.com]]; |
370 show_message [[Please specify a JID, including a host. e.g. alice@example.com]]; |