]> jfr.im git - irc/evilnet/x3.git/commitdiff
Fixing a thing krobar noticed in unregister
authorrubin <redacted>
Thu, 2 Jun 2005 23:45:44 +0000 (23:45 +0000)
committerrubin <redacted>
Thu, 2 Jun 2005 23:45:44 +0000 (23:45 +0000)
ChangeLog.X3
src/chanserv.c

index 812a8b132e3c20c8d3a2260bdf342024a8edd4fe..9ceafd90dd4d8e68482d11b432b3061b3f22de7c 100644 (file)
@@ -3,7 +3,8 @@
 
 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
 
index ca5e2684147641e9c9bd46598449d44ccf6a8124..8d3fd48777402f026b9a399262020ace48329073 100644 (file)
@@ -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;
        }
     }