Changeset a83442a
- Timestamp:
- 2008-03-21T00:39:16Z (17 years ago)
- Branches:
- master
- Children:
- 851a8c2
- Parents:
- 379c08a
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r379c08a ra83442a 309 309 } 310 310 311 if( ( cs = set_getstr( &irc->set, "charset" ) ) )311 if( ( cs = set_getstr( &irc->set, "charset" ) ) && g_strcasecmp( cs, "none" ) != 0 ) 312 312 { 313 313 conv[IRC_MAX_LINE] = 0; … … 330 330 { 331 331 irc_write( irc, ":%s NOTICE AUTH :%s", irc->myhost, 332 "Warning: invalid (non-UTF8)characters received at login time." );332 "Warning: invalid characters received at login time." ); 333 333 334 334 strncpy( conv, lines[i], IRC_MAX_LINE ); … … 554 554 555 555 strip_newlines( line ); 556 if( ( cs = set_getstr( &irc->set, "charset" ) ) && ( g_strcasecmp( cs, "utf-8" ) != 0 ) ) 556 if( ( cs = set_getstr( &irc->set, "charset" ) ) && 557 g_strcasecmp( cs, "none" ) != 0 && g_strcasecmp( cs, "utf-8" ) != 0 ) 557 558 { 558 559 char conv[IRC_MAX_LINE+1]; -
set.c
r379c08a ra83442a 235 235 GIConv cd; 236 236 237 if ( g_strncasecmp( value, "none", 4) == 0 )237 if( g_strcasecmp( value, "none" ) == 0 ) 238 238 return value; 239 239
Note: See TracChangeset
for help on using the changeset viewer.