Changes in irc_commands.c [449a51d:b75acf6]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
r449a51d rb75acf6 448 448 user_t *u = user_find( irc, irc->nick ); 449 449 char *away = cmd[1]; 450 account_t *a; 450 451 451 452 if( !u ) return; … … 474 475 } 475 476 476 set_setstr( &irc->set, "away", u->away ); 477 for( a = irc->accounts; a; a = a->next ) 478 { 479 struct im_connection *ic = a->ic; 480 481 if( ic && ic->flags & OPT_LOGGED_IN ) 482 imc_set_away( ic, u->away ); 483 } 477 484 } 478 485 … … 497 504 else if( u->away ) 498 505 irc_reply( irc, 301, "%s :%s", u->nick, u->away ); 499 if( u->status_msg )500 irc_reply( irc, 333, "%s :Status: %s", u->nick, u->status_msg );501 506 502 507 irc_reply( irc, 318, "%s :End of /WHOIS list", nick );
Note: See TracChangeset
for help on using the changeset viewer.