From: rubin Date: Thu, 2 Jun 2005 23:45:44 +0000 (+0000) Subject: Fixing a thing krobar noticed in unregister X-Git-Tag: 1.9~646 X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/commitdiff_plain/fa0fac3ec8805dc8e9263b808c0d1fdd277439f9?hp=f8f30e75066e4a0b84034e50e392ba713f27732d Fixing a thing krobar noticed in unregister --- diff --git a/ChangeLog.X3 b/ChangeLog.X3 index 812a8b1..9ceafd9 100644 --- a/ChangeLog.X3 +++ b/ChangeLog.X3 @@ -3,7 +3,8 @@ 2005-05-27 Alex Schumann - * 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 diff --git a/src/chanserv.c b/src/chanserv.c index ca5e268..8d3fd48 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -152,7 +152,7 @@ static const struct message_entry msgtab[] = { { "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." }, @@ -2089,7 +2089,7 @@ static CHANSERV_FUNC(cmd_unregister) 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; } }