Changeset 5a71d9c for protocols/nogaim.c
- Timestamp:
- 2008-02-09T17:58:13Z (17 years ago)
- Branches:
- master
- Children:
- f55cfe9
- Parents:
- a13855a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
ra13855a r5a71d9c 603 603 604 604 /* LISPy... */ 605 if( ( set_getbool( &ic->irc->set, "away_devoice" ) ) && /* Don't do a thing when user doesn't want it */ 606 ( u->online ) && /* Don't touch offline people */ 607 ( ( ( u->online != oo ) && !u->away ) || /* Voice joining people */ 608 ( ( u->online == oo ) && ( oa == !u->away ) ) ) ) /* (De)voice people changing state */ 605 if( ( u->online ) && /* Don't touch offline people */ 606 ( ( ( u->online != oo ) && !u->away ) || /* Do joining people */ 607 ( ( u->online == oo ) && ( oa == !u->away ) ) ) ) /* Do people changing state */ 609 608 { 610 609 char *from; … … 619 618 ic->irc->myhost ); 620 619 } 621 irc_write( ic->irc, ":%s MODE %s %cv %s", from, ic->irc->channel, 622 u->away?'-':'+', u->nick ); 620 if(!strcmp(set_getstr(&ic->irc->set, "voice_buddies"), "notaway")) { 621 irc_write( ic->irc, ":%s MODE %s %cv %s", from, ic->irc->channel, 622 u->away?'-':'+', u->nick ); 623 } 624 if(!strcmp(set_getstr(&ic->irc->set, "op_buddies"), "notaway")) { 625 irc_write( ic->irc, ":%s MODE %s %co %s", from, ic->irc->channel, 626 u->away?'-':'+', u->nick ); 627 } 623 628 g_free( from ); 624 629 }
Note: See TracChangeset
for help on using the changeset viewer.