Changeset a93e3c8
- Timestamp:
- 2006-07-09T10:54:45Z (18 years ago)
- Branches:
- master
- Children:
- b0a33a5
- Parents:
- bf25fa3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
rbf25fa3 ra93e3c8 652 652 char namelist[385] = ""; 653 653 struct conversation *c = NULL; 654 char *ops = set_getstr( irc, "ops" ); 654 655 655 656 /* RFCs say there is no error reply allowed on NAMES, so when the … … 668 669 if( u->gc && !u->away && set_getint( irc, "away_devoice" ) ) 669 670 strcat( namelist, "+" ); 671 else if( ( strcmp( u->nick, irc->mynick ) == 0 && ( strcmp( ops, "root" ) == 0 || strcmp( ops, "both" ) == 0 ) ) || 672 ( strcmp( u->nick, irc->nick ) == 0 && ( strcmp( ops, "user" ) == 0 || strcmp( ops, "both" ) == 0 ) ) ) 673 strcat( namelist, "@" ); 670 674 671 675 strcat( namelist, u->nick ); … … 676 680 { 677 681 GList *l; 678 char *ops = set_getstr( irc, "ops" );679 682 680 683 /* root and the user aren't in the channel userlist but should
Note: See TracChangeset
for help on using the changeset viewer.