diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-07 18:32:31 +0000 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-07 18:32:31 +0000 | 
| commit | 63770b44953f9fbd7355b81217143375a2db246c (patch) | |
| tree | c31fb8dc6a29674001fc51551322194e94e3634c | |
| parent | 68198e97b6a6dd479e88fd1bd85a7b19cf67d149 (diff) | |
Changed formatting of Jabber buddy info response.
| -rw-r--r-- | irc_commands.c | 1 | ||||
| -rw-r--r-- | protocols/jabber/jabber.c | 9 | 
2 files changed, 5 insertions, 5 deletions
| diff --git a/irc_commands.c b/irc_commands.c index 0fbaacd1..750bbcf5 100644 --- a/irc_commands.c +++ b/irc_commands.c @@ -447,7 +447,6 @@ static void irc_cmd_away( irc_t *irc, char **cmd )  {  	user_t *u = user_find( irc, irc->nick );  	char *away = cmd[1]; -	account_t *a;  	if( !u ) return; diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c index 35cf08c5..eca7d2d3 100644 --- a/protocols/jabber/jabber.c +++ b/protocols/jabber/jabber.c @@ -365,10 +365,11 @@ static void jabber_get_info( struct im_connection *ic, char *who )  	while( bud )  	{ -		imcb_log( ic, "Buddy %s (%d) information:\nAway state: %s\nAway message: %s", -		                   bud->full_jid, bud->priority, -		                   bud->away_state ? bud->away_state->full_name : "(none)", -		                   bud->away_message ? : "(none)" ); +		imcb_log( ic, "Buddy %s (%d) information:", bud->full_jid, bud->priority ); +		if( bud->away_state ) +			imcb_log( ic, "Away state: %s", bud->away_state->full_name ); +		imcb_log( ic, "Status message: %s", bud->away_message ? : "(none)" ); +		  		bud = bud->next;  	} | 
