- Timestamp:
- 2006-01-14T18:25:00Z (19 years ago)
- Branches:
- master
- Children:
- b23c5c7
- Parents:
- c22c210
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
rc22c210 redf9657 573 573 574 574 irc_reply( irc, 366, "%s :End of /NAMES list", channel ); 575 } 576 577 int irc_check_login( irc_t *irc ) 578 { 579 if( irc->user && irc->nick ) 580 { 581 if( global.conf->authmode == AUTHMODE_CLOSED && irc->status < USTATUS_AUTHORIZED ) 582 { 583 irc_reply( irc, 464, ":This server is password-protected." ); 584 return 0; 585 } 586 else 587 { 588 irc_login( irc ); 589 return 1; 590 } 591 } 592 else 593 { 594 /* More information needed. */ 595 return 0; 596 } 575 597 } 576 598
Note: See TracChangeset
for help on using the changeset viewer.