Changeset 449a51d for protocols/nogaim.c


Ignore:
Timestamp:
2010-03-16T10:18:02Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ec55a7d
Parents:
9fca0657
Message:

Include non-away status messages in blist and whois responses. The whois
change is a complete violation of the IRC protocol but that doesn't seem
to be an uncommon thing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    r9fca0657 r449a51d  
    647647        oo = u->online;
    648648       
    649         if( u->away )
    650         {
    651                 g_free( u->away );
    652                 u->away = NULL;
    653         }
     649        g_free( u->away );
     650        g_free( u->status_msg );
     651        u->away = u->status_msg = NULL;
    654652       
    655653        if( ( flags & OPT_LOGGED_IN ) && !u->online )
     
    689687                }
    690688        }
    691         /* else waste_any_state_information_for_now(); */
     689        else
     690        {
     691                u->status_msg = g_strdup( message );
     692        }
    692693       
    693694        /* LISPy... */
Note: See TracChangeset for help on using the changeset viewer.