Software /
code /
prosody
Comparison
prosodyctl @ 7147:81e54032d14d
prosodyctl: fix CnP bug in deluser output
author | Thomas Gstädtner <thomas@gstaedtner.net> |
---|---|
date | Mon, 08 Feb 2016 14:48:50 +0100 |
parent | 7082:8b590fc77d91 |
child | 7191:df4f52cabdfe |
comparison
equal
deleted
inserted
replaced
7143:fa6cd0e9105d | 7147:81e54032d14d |
---|---|
362 show_usage([[deluser JID]], [[Permanently remove the specified user account from Prosody]]); | 362 show_usage([[deluser JID]], [[Permanently remove the specified user account from Prosody]]); |
363 return 1; | 363 return 1; |
364 end | 364 end |
365 local user, host = jid_split(arg[1]); | 365 local user, host = jid_split(arg[1]); |
366 if not user and host then | 366 if not user and host then |
367 show_message [[Failed to understand JID, please supply the JID you want to set the password for]] | 367 show_message [[Failed to understand JID, please supply the JID to the user account you want to delete]] |
368 show_usage [[passwd user@host]] | 368 show_usage [[deluser user@host]] |
369 return 1; | 369 return 1; |
370 end | 370 end |
371 | 371 |
372 if not host then | 372 if not host then |
373 show_message [[Please specify a JID, including a host. e.g. alice@example.com]]; | 373 show_message [[Please specify a JID, including a host. e.g. alice@example.com]]; |