Changeset e277e80 for irc_user.c


Ignore:
Timestamp:
2013-04-20T22:50:31Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
c608891
Parents:
dd95ce4
Message:

Add irc_t* argument to all relevant nick_*() functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_user.c

    rdd95ce4 re277e80  
    3636       
    3737        iu->key = g_strdup( nick );
    38         nick_lc( iu->key );
     38        nick_lc( irc, iu->key );
    3939        /* Using the hash table for speed and irc->users for easy iteration
    4040           through the list (since the GLib API doesn't have anything sane
     
    107107       
    108108        strcpy( key, nick );
    109         if( nick_lc( key ) )
     109        if( nick_lc( irc, key ) )
    110110                return g_hash_table_lookup( irc->nick_user_hash, key );
    111111        else
     
    121121       
    122122        strcpy( key, new );
    123         if( iu == NULL || !nick_lc( key ) ||
     123        if( iu == NULL || !nick_lc( irc, key ) ||
    124124            ( ( new_iu = irc_user_by_name( irc, new ) ) && new_iu != iu ) )
    125125                return 0;
Note: See TracChangeset for help on using the changeset viewer.