- Timestamp:
- 2010-03-27T02:39:08Z (15 years ago)
- Branches:
- master
- Children:
- b9e020a
- Parents:
- ebaebfe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
rebaebfe r4be8239 586 586 else 587 587 { 588 irc_channel_t *ic; 589 irc_user_t *iu = irc->user; 590 591 irc->user = irc_user_new( irc, iu->nick ); 592 irc->user->user = iu->user; 593 irc->user->fullname = iu->fullname; 594 g_free( iu->nick ); 595 g_free( iu ); 596 597 irc->umode[0] = '\0'; 598 /*irc_umode_set( irc, "+" UMODE, 1 );*/ 599 600 if( global.conf->runmode == RUNMODE_FORKDAEMON || global.conf->runmode == RUNMODE_DAEMON ) 601 ipc_to_master_str( "CLIENT %s %s :%s\r\n", irc->user->host, irc->user->nick, irc->user->fullname ); 602 603 irc->status |= USTATUS_LOGGED_IN; 604 605 /* This is for bug #209 (use PASS to identify to NickServ). */ 606 if( irc->password != NULL ) 607 { 608 char *send_cmd[] = { "identify", g_strdup( irc->password ), NULL }; 609 610 /*irc_setpass( irc, NULL );*/ 611 /*root_command( irc, send_cmd );*/ 612 g_free( send_cmd[1] ); 613 } 614 588 615 irc_send_login( irc ); 616 617 ic = irc_channel_new( irc, ROOT_CHAN ); 618 irc_channel_set_topic( ic, CONTROL_TOPIC ); 619 irc_channel_add_user( ic, irc->user ); 620 589 621 return 1; 590 622 }
Note: See TracChangeset
for help on using the changeset viewer.