Changeset e731120


Ignore:
Timestamp:
2008-01-11T00:45:18Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e7f8838
Parents:
181e47a
Message:

Adding own handle to protocol name in blist output for people with multiple
accounts on the same IM network.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r181e47a re731120  
    821821                if( online == 1 )
    822822                {
    823                         g_snprintf( s, sizeof( s ) - 1, "%s@%s (%s)", u->user, u->host, u->ic->acc->prpl->name );
     823                        g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user );
    824824                        irc_usermsg( irc, format, u->nick, s, "Online" );
    825825                }
     
    832832                if( away == 1 )
    833833                {
    834                         g_snprintf( s, sizeof( s ) - 1, "%s@%s (%s)", u->user, u->host, u->ic->acc->prpl->name );
     834                        g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user );
    835835                        irc_usermsg( irc, format, u->nick, s, u->away );
    836836                }
     
    842842                if( offline == 1 )
    843843                {
    844                         g_snprintf( s, sizeof( s ) - 1, "%s@%s (%s)", u->user, u->host, u->ic->acc->prpl->name );
     844                        g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user );
    845845                        irc_usermsg( irc, format, u->nick, s, "Offline" );
    846846                }
Note: See TracChangeset for help on using the changeset viewer.