Changeset 9c62a7c
- Timestamp:
- 2005-11-08T23:02:25Z (19 years ago)
- Branches:
- master
- Children:
- 68b50b5f
- Parents:
- b4a8cd8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
rb4a8cd8 r9c62a7c 162 162 if( irc->w_watch_source_id > 0 ) 163 163 g_source_remove( irc->w_watch_source_id ); 164 g_io_channel_close( irc->io_channel );164 165 165 g_io_channel_unref( irc->io_channel ); 166 166 irc_connection_list = g_slist_remove( irc_connection_list, irc ); … … 462 462 } 463 463 return( 1 ); 464 } 465 else if( g_strcasecmp( cmd[0], "QUIT" ) == 0 ) 466 { 467 irc_write( irc, "ERROR :%s%s", cmd[1]?"Quit: ":"", cmd[1]?cmd[1]:"Client Quit" ); 468 g_io_channel_close( irc->io_channel ); 469 return( 0 ); 464 470 } 465 471 … … 637 643 } 638 644 } 639 else if( g_strcasecmp( cmd[0], "QUIT" ) == 0 )640 {641 irc_write( irc, "ERROR :%s%s", cmd[1]?"Quit: ":"", cmd[1]?cmd[1]:"Client Quit" );642 g_io_channel_close( irc->io_channel );643 return( 0 );644 }645 645 else if( g_strcasecmp( cmd[0], "WHO" ) == 0 ) 646 646 {
Note: See TracChangeset
for help on using the changeset viewer.