diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-01-11 00:45:18 +0000 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-01-11 00:45:18 +0000 | 
| commit | e7311208511c391b4f55161b6be93dbffb381c5e (patch) | |
| tree | 0f19b8f47e01011ee3ba46fd8031febfb92465db /root_commands.c | |
| parent | 181e47a9693d56e4bc0cec65ec05fce6086aebe8 (diff) | |
Adding own handle to protocol name in blist output for people with multiple
accounts on the same IM network.
Diffstat (limited to 'root_commands.c')
| -rw-r--r-- | root_commands.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/root_commands.c b/root_commands.c index dc70feb4..26a42a25 100644 --- a/root_commands.c +++ b/root_commands.c @@ -820,7 +820,7 @@ static void cmd_blist( irc_t *irc, char **cmd )  	{  		if( online == 1 )  		{ -			g_snprintf( s, sizeof( s ) - 1, "%s@%s (%s)", u->user, u->host, u->ic->acc->prpl->name ); +			g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user );  			irc_usermsg( irc, format, u->nick, s, "Online" );  		} @@ -831,7 +831,7 @@ static void cmd_blist( irc_t *irc, char **cmd )  	{  		if( away == 1 )  		{ -			g_snprintf( s, sizeof( s ) - 1, "%s@%s (%s)", u->user, u->host, u->ic->acc->prpl->name ); +			g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user );  			irc_usermsg( irc, format, u->nick, s, u->away );  		}  		n_away ++; @@ -841,7 +841,7 @@ static void cmd_blist( irc_t *irc, char **cmd )  	{  		if( offline == 1 )  		{ -			g_snprintf( s, sizeof( s ) - 1, "%s@%s (%s)", u->user, u->host, u->ic->acc->prpl->name ); +			g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user );  			irc_usermsg( irc, format, u->nick, s, "Offline" );  		}  		n_offline ++; | 
