Changes in root_commands.c [30ce1ce:7adc657]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r30ce1ce r7adc657 449 449 { 450 450 add_on_server = 0; 451 cmd ++; /* So evil... :-D */451 cmd ++; 452 452 } 453 453 … … 481 481 } 482 482 483 /* By making this optional, you can talk to people without having to484 add them to your *real* (server-side) contact list. */485 483 if( add_on_server ) 486 484 a->ic->acc->prpl->add_buddy( a->ic, cmd[2], NULL ); 487 488 /* add_buddy( a->ic, NULL, cmd[2], cmd[2] ); */ 485 else 486 /* Yeah, officially this is a call-*back*... So if we just 487 called add_buddy, we'll wait for the IM server to respond 488 before we do this. */ 489 imcb_add_buddy( a->ic, cmd[2], NULL ); 489 490 490 491 irc_usermsg( irc, "Adding `%s' to your contact list", cmd[2] ); … … 821 822 if( online == 1 ) 822 823 { 823 g_snprintf( s, sizeof( s ) - 1, "%s@%s (%s)", u->user, u->host, u->ic->acc->prpl->name);824 g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user ); 824 825 irc_usermsg( irc, format, u->nick, s, "Online" ); 825 826 } … … 832 833 if( away == 1 ) 833 834 { 834 g_snprintf( s, sizeof( s ) - 1, "%s@%s (%s)", u->user, u->host, u->ic->acc->prpl->name);835 g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user ); 835 836 irc_usermsg( irc, format, u->nick, s, u->away ); 836 837 } … … 842 843 if( offline == 1 ) 843 844 { 844 g_snprintf( s, sizeof( s ) - 1, "%s@%s (%s)", u->user, u->host, u->ic->acc->prpl->name);845 g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user ); 845 846 irc_usermsg( irc, format, u->nick, s, "Offline" ); 846 847 }
Note: See TracChangeset
for help on using the changeset viewer.