Comparison

prosodyctl @ 7679:589e27b47d56

Merge 0.9->0.10
author Kim Alvefur <zash@zash.se>
date Wed, 28 Sep 2016 14:45:02 +0200
parent 7528:50365a496890
parent 7676:7311dc843718
child 7686:8d6f367bed8c
child 7920:1db51061342b
comparison
equal deleted inserted replaced
7674:8027eecc750f 7679:589e27b47d56
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]];