Changeset 0d4a068
- Timestamp:
- 2010-05-03T22:58:15Z (15 years ago)
- Branches:
- master
- Children:
- 9893da3
- Parents:
- 1a3ba05
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee_user.c
r1a3ba05 r0d4a068 139 139 g_free( old->status ); 140 140 g_free( old ); 141 #if 0142 /* LISPy... */143 if( ( set_getbool( &ic->bee->set, "away_devoice" ) ) && /* Don't do a thing when user doesn't want it */144 ( u->online ) && /* Don't touch offline people */145 ( ( ( u->online != oo ) && !u->away ) || /* Voice joining people */146 ( ( u->online == oo ) && ( oa == !u->away ) ) ) ) /* (De)voice people changing state */147 {148 char *from;149 150 if( set_getbool( &ic->bee->set, "simulate_netsplit" ) )151 {152 from = g_strdup( ic->irc->myhost );153 }154 else155 {156 from = g_strdup_printf( "%s!%s@%s", ic->irc->mynick, ic->irc->mynick,157 ic->irc->myhost );158 }159 irc_write( ic->irc, ":%s MODE %s %cv %s", from, ic->irc->channel,160 u->away?'-':'+', u->nick );161 g_free( from );162 }163 #endif164 141 } 165 142
Note: See TracChangeset
for help on using the changeset viewer.