Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn_util.c

    r42d9571 r5c09a59  
    4646int msn_logged_in( struct gaim_connection *gc )
    4747{
     48        struct msn_data *md = gc->proto_data;
     49        char buf[1024];
     50       
    4851        account_online( gc );
     52       
     53        /* account_online() sets an away state if there is any, so only
     54           execute this code if we're not away. */
     55        if( md->away_state == msn_away_state_list )
     56        {
     57                g_snprintf( buf, sizeof( buf ), "CHG %d %s %d\r\n", ++md->trId, md->away_state->code, 0 );
     58                return( msn_write( gc, buf, strlen( buf ) ) );
     59        }
    4960       
    5061        return( 0 );
Note: See TracChangeset for help on using the changeset viewer.