Changeset 7d31002 for root_commands.c


Ignore:
Timestamp:
2006-03-31T21:09:36Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e6e1f18
Parents:
e27661d
Message:

Tested and fixed one issue, and got rid of one more superfluous iconv call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    re27661d r7d31002  
    753753        else
    754754        {
    755                 char utf8[1024];
    756                
    757755                irc_usermsg( irc, "Setting your name to `%s'", cmd[2] );
    758756               
    759                 if( g_strncasecmp( set_getstr( irc, "charset" ), "none", 4 ) != 0 &&
    760                     do_iconv( set_getstr( irc, "charset" ), "UTF-8", cmd[2], utf8, 0, 1024 ) != -1 )
    761                         a->gc->prpl->set_info( a->gc, utf8 );
    762                 else
    763                         a->gc->prpl->set_info( a->gc, cmd[2] );
     757                a->gc->prpl->set_info( a->gc, cmd[2] );
    764758        }
    765759}
Note: See TracChangeset for help on using the changeset viewer.