2005-05-27 Alex Schumann <rubin@afternet.org>
- * src/chanserv.c: Improved usability of register command
+ * src/chanserv.c: Improved usability of register command, fixed
+ unregister reply.
* src/chanserv.help: Improved usability of register command
{ "CSMSG_UNREG_SUCCESS", "$b%s$b has been unregistered." },
{ "CSMSG_UNREG_NODELETE", "$b%s$b is protected from unregistration." },
{ "CSMSG_CHAN_SUSPENDED", "$b$C$b access to $b%s$b has been temporarily suspended (%s)." },
- { "CSMSG_CONFIRM_UNREG", "To confirm this unregistration, you must use 'unregister %s'." },
+ { "CSMSG_CONFIRM_UNREG", "To confirm this unregistration, you must use 'unregister %s %s'." },
/* Channel moving */
{ "CSMSG_MOVE_SUCCESS", "Channel registration has been moved to $b%s$b." },
confirm_string = make_confirmation_string(uData);
if((argc < 2) || strcmp(argv[1], confirm_string))
{
- reply("CSMSG_CONFIRM_UNREG", confirm_string);
+ reply("CSMSG_CONFIRM_UNREG", channel->name, confirm_string);
return 0;
}
}