Changeset 75554d0 for irc_commands.c


Ignore:
Timestamp:
2010-03-17T13:56:52Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
b788246
Parents:
e5e795d (diff), f9928cb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging in 1.2.5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    re5e795d r75554d0  
    448448        user_t *u = user_find( irc, irc->nick );
    449449        char *away = cmd[1];
    450         account_t *a;
    451450       
    452451        if( !u ) return;
     
    475474        }
    476475       
    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         }
     476        set_setstr( &irc->set, "away", u->away );
    484477}
    485478
     
    504497                else if( u->away )
    505498                        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 );
    506501               
    507502                irc_reply( irc, 318, "%s :End of /WHOIS list", nick );
Note: See TracChangeset for help on using the changeset viewer.