Changes in irc_commands.c [f1d38f2:a91ecee]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
rf1d38f2 ra91ecee 415 415 { 416 416 user_t *u = user_find( irc, irc->nick ); 417 GSList *c = get_connections();418 417 char *away = cmd[1]; 418 account_t *a; 419 419 420 420 if( !u ) return; … … 443 443 } 444 444 445 while( c)446 { 447 if( ((struct gaim_connection *)c->data)->flags & OPT_LOGGED_IN )448 proto_away( c->data, u->away );449 450 c = c->next;445 for( a = irc->accounts; a; a = a->next ) 446 { 447 struct gaim_connection *gc = a->gc; 448 449 if( gc && gc->flags & OPT_LOGGED_IN ) 450 proto_away( gc, u->away ); 451 451 } 452 452 }
Note: See TracChangeset
for help on using the changeset viewer.