Changeset 63770b4


Ignore:
Timestamp:
2010-03-07T18:32:31Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
0e99548
Parents:
68198e9
Message:

Changed formatting of Jabber buddy info response.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    r68198e9 r63770b4  
    448448        user_t *u = user_find( irc, irc->nick );
    449449        char *away = cmd[1];
    450         account_t *a;
    451450       
    452451        if( !u ) return;
  • protocols/jabber/jabber.c

    r68198e9 r63770b4  
    366366        while( bud )
    367367        {
    368                 imcb_log( ic, "Buddy %s (%d) information:\nAway state: %s\nAway message: %s",
    369                                    bud->full_jid, bud->priority,
    370                                    bud->away_state ? bud->away_state->full_name : "(none)",
    371                                    bud->away_message ? : "(none)" );
     368                imcb_log( ic, "Buddy %s (%d) information:", bud->full_jid, bud->priority );
     369                if( bud->away_state )
     370                        imcb_log( ic, "Away state: %s", bud->away_state->full_name );
     371                imcb_log( ic, "Status message: %s", bud->away_message ? : "(none)" );
     372               
    372373                bud = bud->next;
    373374        }
Note: See TracChangeset for help on using the changeset viewer.