Changeset bedad20 for irc_commands.c


Ignore:
Timestamp:
2010-11-24T22:32:12Z (8 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
b11b781
Parents:
9564e55
Message:

Some polishing/documentation for the "account add" without password hack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    r9564e55 rbedad20  
    409409                {
    410410                        set_setstr( &a->set, "password", cmd[2] );
     411                        irc_usermsg( irc, "Password added to IM account "
     412                                     "%s(%s)", a->prpl->name, a->user );
     413                        /* The IRC client may expect this. Report failure since
     414                           we didn't hand out a +o. */
     415                        irc_send_num( irc, 491, ":Password added to IM account "
     416                                      "%s(%s)", a->prpl->name, a->user );
    411417                        return;
    412418                }
     
    422428        else
    423429        {
    424                 irc_send_num( irc, 432, ":Incorrect password" );
     430                irc_send_num( irc, 491, ":Incorrect password" );
    425431        }
    426432}
Note: See TracChangeset for help on using the changeset viewer.