Changeset 57c96f7 for irc_user.c


Ignore:
Timestamp:
2010-04-05T01:00:02Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
1f92a58
Parents:
0b5cc72
Message:

Restored the rename command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_user.c

    r0b5cc72 r57c96f7  
    8383}
    8484
    85 int irc_user_set_nick( irc_t *irc, const char *old, const char *new )
     85int irc_user_set_nick( irc_user_t *iu, const char *new )
    8686{
    87         irc_user_t *iu = irc_user_by_name( irc, old );
     87        irc_t *irc = iu->irc;
    8888        char key[strlen(new)+1];
    8989        GSList *cl;
     
    100100                   who's in the same channel like our user. */
    101101                if( iu == irc->user ||
    102                     ( irc_channel_has_user( ic, irc->user ) &&
     102                    ( ( ic->flags & IRC_CHANNEL_JOINED ) &&
    103103                      irc_channel_has_user( ic, iu ) ) )
    104104                {
Note: See TracChangeset for help on using the changeset viewer.