Changeset 46511b3


Ignore:
Timestamp:
2014-10-11T10:43:44Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
9ead105
Parents:
7b40f17
Message:

nick_lc: use unsigned chars to avoid unicode issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nick.c

    r7b40f17 r46511b3  
    408408       
    409409        for( i = 0; nick[i]; i ++ )
    410                 if( nick[i] < 0x7f )
    411                         nick[i] = tab[(int)nick[i]];
     410                if( ((guchar)nick[i]) < 0x7f )
     411                        nick[i] = tab[(guchar)nick[i]];
    412412       
    413413        return nick_ok( irc, nick );
Note: See TracChangeset for help on using the changeset viewer.