Changeset 134a02c for irc_channel.c


Ignore:
Timestamp:
2010-06-27T16:04:28Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
1c40aa7
Parents:
547ea68
Message:

irc_channel_name_strip() instead of nick_strip().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    r547ea68 r134a02c  
    285285       
    286286        return TRUE;
     287}
     288
     289void irc_channel_name_strip( char *name )
     290{
     291        int i, j;
     292       
     293        for( i = j = 0; name[i]; i ++ )
     294                if( name[i] > ' ' && name[i] != ',' )
     295                        name[j++] = name[i];
     296       
     297        name[j] = '\0';
    287298}
    288299
Note: See TracChangeset for help on using the changeset viewer.