Changeset 17f057d
- Timestamp:
- 2011-12-13T00:34:07Z (13 years ago)
- Branches:
- master
- Children:
- 4efa5ce, 6e9ae72, a0a3de6
- Parents:
- b926d88
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
rb926d88 r17f057d 434 434 set_setstr( &a->set, "password", password ); 435 435 irc_rootmsg( irc, "Password added to IM account " 436 "%s (%s)", a->prpl->name, a->user);436 "%s", a->tag ); 437 437 /* The IRC client may expect this. 491 suggests the OPER 438 438 password was wrong, so the client won't expect a +o. 439 439 It may however repeat the password prompt. We'll see. */ 440 440 irc_send_num( irc, 491, ":Password added to IM account " 441 "%s (%s)", a->prpl->name, a->user);441 "%s", a->tag ); 442 442 } 443 443 } -
protocols/nogaim.c
rb926d88 r17f057d 216 216 if( a ) 217 217 /* FIXME(wilmer): ui_log callback or so */ 218 irc_rootmsg( ic->bee->ui_data, "%s (%s) - %s", ic->acc->prpl->name, ic->acc->user, text );218 irc_rootmsg( ic->bee->ui_data, "%s - %s", ic->acc->tag, text ); 219 219 else 220 220 irc_rootmsg( ic->bee->ui_data, "%s - %s", ic->acc->prpl->name, text ); -
root_commands.c
rb926d88 r17f057d 413 413 if( strcmp( a->pass, PASSWORD_PENDING ) == 0 ) 414 414 { 415 irc_rootmsg( irc, "Enter password for account %s (%s)"416 "first (use /OPER)", a-> prpl->name, a->user);415 irc_rootmsg( irc, "Enter password for account %s " 416 "first (use /OPER)", a->tag ); 417 417 return; 418 418 } … … 443 443 } 444 444 445 irc_rootmsg( irc, "Account successfully added%s", cmd[4] ? "" : 445 irc_rootmsg( irc, "Account successfully added with tag %s%s", 446 a->tag, cmd[4] ? "" : 446 447 ", now use /OPER to enter the password" ); 447 448 … … 490 491 { 491 492 if( strcmp( a->pass, PASSWORD_PENDING ) == 0 ) 492 irc_rootmsg( irc, "Enter password for account %s (%s)"493 "first (use /OPER)", a-> prpl->name, a->user);493 irc_rootmsg( irc, "Enter password for account %s " 494 "first (use /OPER)", a->tag ); 494 495 else 495 496 account_on( irc->b, a ); … … 553 554 irc_rootmsg( irc, "Account already online" ); 554 555 else if( strcmp( a->pass, PASSWORD_PENDING ) == 0 ) 555 irc_rootmsg( irc, "Enter password for account %s (%s)"556 "first (use /OPER)", a-> prpl->name, a->user);556 irc_rootmsg( irc, "Enter password for account %s " 557 "first (use /OPER)", a->tag ); 557 558 else 558 559 account_on( irc->b, a ); … … 1093 1094 g_snprintf( st, sizeof( st ) - 1, "Online (%s)", bu->status_msg ); 1094 1095 1095 g_snprintf( s, sizeof( s ) - 1, "%s %s (%s)", bu->handle, bu->ic->acc->prpl->name, bu->ic->acc->user);1096 g_snprintf( s, sizeof( s ) - 1, "%s %s", bu->handle, bu->ic->acc->tag ); 1096 1097 irc_rootmsg( irc, format, iu->nick, s, st ); 1097 1098 } … … 1111 1112 if( away == 1 ) 1112 1113 { 1113 g_snprintf( s, sizeof( s ) - 1, "%s %s (%s)", bu->handle, bu->ic->acc->prpl->name, bu->ic->acc->user);1114 g_snprintf( s, sizeof( s ) - 1, "%s %s", bu->handle, bu->ic->acc->tag ); 1114 1115 irc_rootmsg( irc, format, iu->nick, s, irc_user_get_away( iu ) ); 1115 1116 } … … 1128 1129 if( offline == 1 ) 1129 1130 { 1130 g_snprintf( s, sizeof( s ) - 1, "%s %s (%s)", bu->handle, bu->ic->acc->prpl->name, bu->ic->acc->user);1131 g_snprintf( s, sizeof( s ) - 1, "%s %s", bu->handle, bu->ic->acc->tag ); 1131 1132 irc_rootmsg( irc, format, iu->nick, s, "Offline" ); 1132 1133 } … … 1152 1153 for( num = 0; q; q = q->next, num ++ ) 1153 1154 if( q->ic ) /* Not necessary yet, but it might come later */ 1154 irc_rootmsg( irc, "%d, %s (%s): %s", num, q->ic->acc->prpl->name, q->ic->acc->user, q->question );1155 irc_rootmsg( irc, "%d, %s: %s", num, q->ic->acc->tag, q->question ); 1155 1156 else 1156 1157 irc_rootmsg( irc, "%d, BitlBee: %s", num, q->question );
Note: See TracChangeset
for help on using the changeset viewer.