Changeset 5c09a59
- Timestamp:
- 2005-11-15T23:16:39Z (19 years ago)
- Branches:
- master
- Children:
- ef6c6a7
- Parents:
- 9cb9868
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
bitlbee.c
r9cb9868 r5c09a59 518 518 } 519 519 520 irc_usermsg( irc, "Unknown command: %s. Please use help commandsto get a list of available commands.", cmd[0] );520 irc_usermsg( irc, "Unknown command: %s. Please use \x02help commands\x02 to get a list of available commands.", cmd[0] ); 521 521 522 522 return( 1 ); -
commands.c
r9cb9868 r5c09a59 337 337 else 338 338 { 339 irc_usermsg( irc, "Unknown command: account %s. Please use help commandsto get a list of available commands.", cmd[1] );339 irc_usermsg( irc, "Unknown command: account %s. Please use \x02help commands\x02 to get a list of available commands.", cmd[1] ); 340 340 } 341 341 … … 738 738 739 739 for( num = 0; q; q = q->next, num ++ ) 740 irc_usermsg( irc, "%d, %s", num, q->question ); 740 if( q->gc ) /* Not necessary yet, but it might come later */ 741 irc_usermsg( irc, "%d, %s(%s): %s", num, proto_name[q->gc->protocol], q->gc->username, q->question ); 742 else 743 irc_usermsg( irc, "%d, BitlBee: %s", num, q->question ); 741 744 742 745 return( 0 ); -
irc.c
r9cb9868 r5c09a59 1069 1069 irc_spawn( irc, u ); 1070 1070 1071 irc_usermsg( irc, "Welcome to the BitlBee gateway!\n\nIf you've never used BitlBee before, please do read the help information using the helpcommand. Lots of FAQ's are answered there." );1071 irc_usermsg( irc, "Welcome to the BitlBee gateway!\n\nIf you've never used BitlBee before, please do read the help information using the \x02help\x02 command. Lots of FAQ's are answered there." ); 1072 1072 1073 1073 irc->status = USTATUS_LOGGED_IN; -
protocols/jabber/jabber.c
r9cb9868 r5c09a59 1128 1128 */ 1129 1129 struct jabber_add_permit *jap = g_new0(struct jabber_add_permit, 1); 1130 gchar *msg = g_strdup_printf(_("The user %s wants to add you to their buddy list."),1130 gchar *msg = g_strdup_printf(_("The user %s wants to add you to his/her buddy list."), 1131 1131 Jid); 1132 1132 -
protocols/msn/msn_util.c
r9cb9868 r5c09a59 166 166 167 167 g_snprintf( buf, sizeof( buf ), 168 "The user %s (%s) wants to add you to his/her buddy list. Do you want to allow this?",168 "The user %s (%s) wants to add you to his/her buddy list.", 169 169 handle, realname ); 170 170 do_ask_dialog( gc, buf, bla, msn_buddy_ask_yes, msn_buddy_ask_no ); -
protocols/nogaim.c
r9cb9868 r5c09a59 122 122 gc->prpl->set_away( gc, s, away ); 123 123 if( set_getint( gc->irc, "debug" ) ) 124 irc_usermsg( gc->irc, "Setting away state for %s to %s", proto_name[gc->protocol], s );124 serv_got_crap( gc, "Setting away state to %s", s ); 125 125 } 126 126 else … … 216 216 void set_login_progress( struct gaim_connection *gc, int step, char *msg ) 217 217 { 218 irc_usermsg( gc->irc, "%s(%s) - Logging in: %s", proto_name[gc->protocol], gc->username, msg );218 serv_got_crap( gc, "Logging in: %s", msg ); 219 219 } 220 220 … … 222 222 void hide_login_progress( struct gaim_connection *gc, char *msg ) 223 223 { 224 irc_usermsg( gc->irc, "%s(%s) - Login error: %s", proto_name[gc->protocol], gc->username, msg );224 serv_got_crap( gc, "Login error: %s", msg ); 225 225 } 226 226 … … 228 228 void hide_login_progress_error( struct gaim_connection *gc, char *msg ) 229 229 { 230 irc_usermsg( gc->irc, "%s(%s) - Logged out: %s", proto_name[gc->protocol], gc->username, msg );230 serv_got_crap( gc, "Logged out: %s", msg ); 231 231 } 232 232 … … 276 276 u = user_find( gc->irc, gc->irc->nick ); 277 277 278 irc_usermsg( gc->irc, "%s(%s) - Logged in", proto_name[gc->protocol], gc->username);278 serv_got_crap( gc, "Logged in" ); 279 279 280 280 gc->keepalive = g_timeout_add( 60000, send_keepalive, gc ); … … 290 290 291 291 if( u == NULL ) 292 irc_usermsg( gc->irc, "\x02""***\x02"" BitlBee now supports ICQ server-side contact lists. "292 serv_got_crap( gc, "\x02""***\x02"" BitlBee now supports ICQ server-side contact lists. " 293 293 "See \x02""help import_buddies\x02"" for more information." ); 294 294 } … … 323 323 account_t *a; 324 324 325 irc_usermsg( gc->irc, "%s(%s) - Signing off..", proto_name[gc->protocol], gc->username);325 serv_got_crap( gc, "Signing off.." ); 326 326 327 327 gaim_input_remove( gc->keepalive ); … … 355 355 { 356 356 int delay = set_getint( irc, "auto_reconnect_delay" ); 357 irc_usermsg( gc->irc, "%s(%s) - Reconnecting in %d seconds..", proto_name[gc->protocol], gc->username, delay);357 serv_got_crap( gc, "Reconnecting in %d seconds..", delay ); 358 358 359 359 a->reconnect = 1; … … 369 369 void do_error_dialog( struct gaim_connection *gc, char *msg, char *title ) 370 370 { 371 irc_usermsg( gc->irc, "%s(%s) - Error: %s", proto_name[gc->protocol], gc->username, msg );371 serv_got_crap( gc, "Error: %s", msg ); 372 372 } 373 373 … … 398 398 399 399 if( set_getint( irc, "debug" ) && 0 ) /* This message is too useless */ 400 irc_usermsg( irc, "Receiving user add from protocol: %s", handle );400 serv_got_crap( gc, "Receiving user add from handle: %s", handle ); 401 401 402 402 if( user_findhandle( gc, handle ) ) 403 403 { 404 404 if( set_getint( irc, "debug" ) ) 405 irc_usermsg( irc, "User already exists, ignoring add request: %s", handle );405 serv_got_crap( gc, "User already exists, ignoring add request: %s", handle ); 406 406 407 407 return; … … 496 496 497 497 if( ( gc->flags & OPT_LOGGED_IN ) && set_getint( gc->irc, "display_namechanges" ) ) 498 irc_usermsg( gc->irc, "User `%s' changed name to `%s'", u->nick, u->realname );498 serv_got_crap( gc, "User `%s' changed name to `%s'", u->nick, u->realname ); 499 499 } 500 500 } … … 529 529 if( set_getint( gc->irc, "debug" ) || g_strcasecmp( set_getstr( gc->irc, "handle_unknown" ), "ignore" ) != 0 ) 530 530 { 531 irc_usermsg( gc->irc, "serv_got_update() for handle %s on connection %s(%s):", handle, proto_name[gc->protocol], gc->username );532 irc_usermsg( gc->irc, "loggedin = %d, type = %d", loggedin, type );531 serv_got_crap( gc, "serv_got_update() for handle %s:", handle ); 532 serv_got_crap( gc, "loggedin = %d, type = %d", loggedin, type ); 533 533 } 534 534 … … 610 610 { 611 611 if( set_getint( irc, "debug" ) ) 612 irc_usermsg( irc, "Ignoring message from unknown handle %s on connection %s(%s)", handle, proto_name[gc->protocol], gc->username );612 serv_got_crap( gc, "Ignoring message from unknown handle %s", handle ); 613 613 614 614 return; … … 632 632 else 633 633 { 634 irc_usermsg( irc, "Message from unknown handle %s on connection %s(%s):", handle, proto_name[gc->protocol], gc->username );634 serv_got_crap( gc, "Message from unknown handle %s:", handle ); 635 635 u = user_find( irc, irc->mynick ); 636 636 } … … 692 692 693 693 if( set_getint( gc->irc, "debug" ) ) 694 irc_usermsg( gc->irc, "You were removed from conversation %d", (int) id );694 serv_got_crap( gc, "You were removed from conversation %d", (int) id ); 695 695 696 696 for( c = gc->conversations; c && c->id != id; c = (l=c)->next ); … … 748 748 irc_privmsg( gc->irc, u, "PRIVMSG", c->channel, "", msg ); 749 749 else 750 irc_usermsg( gc->irc, "Message from/to conversation %s@%d (unknown conv/user): %s", who, id, msg );750 serv_got_crap( gc, "Message from/to conversation %s@%d (unknown conv/user): %s", who, id, msg ); 751 751 } 752 752 … … 776 776 777 777 if( set_getint( gc->irc, "debug" ) ) 778 irc_usermsg( gc->irc, "Creating new conversation: (id=%d,handle=%s)", id, handle );778 serv_got_crap( gc, "Creating new conversation: (id=%d,handle=%s)", id, handle ); 779 779 780 780 return( c ); … … 795 795 796 796 if( set_getint( b->gc->irc, "debug" ) ) 797 irc_usermsg( b->gc->irc, "User %s added to conversation %d", handle, b->id );797 serv_got_crap( b->gc, "User %s added to conversation %d", handle, b->id ); 798 798 799 799 /* It might be yourself! */ … … 829 829 830 830 if( set_getint( b->gc->irc, "debug" ) ) 831 irc_usermsg( b->gc->irc, "User %s removed from conversation %d (%s)", handle, b->id, reason ? reason : "" );831 serv_got_crap( b->gc, "User %s removed from conversation %d (%s)", handle, b->id, reason ? reason : "" ); 832 832 833 833 /* It might be yourself! */ -
query.c
r9cb9868 r5c09a59 127 127 disp = 1; 128 128 } 129 129 //Using irc_usermsg instead of serv_got_crap because \x02A is a char too, so a SPACE is needed. 130 130 if( ans ) 131 131 { 132 132 q->yes( NULL, q->data ); 133 irc_usermsg( irc, "Accepted: %s", q->question );133 serv_got_crap( q->gc, "\2Accepted\2: %s", q->question ); 134 134 } 135 135 else 136 136 { 137 137 q->no( NULL, q->data ); 138 irc_usermsg( irc, "Rejected: %s", q->question );138 serv_got_crap( q->gc, "\2Rejected\2: %s", q->question ); 139 139 } 140 140 q->data = NULL; … … 149 149 { 150 150 if( q->gc ) 151 irc_usermsg( irc, "Question on %s connection (handle %s):", proto_name[q->gc->protocol], q->gc->username ); 151 { 152 serv_got_crap( q->gc, "New request:" ); 153 serv_got_crap( q->gc, "%s\nYou can use the yes/no commands to accept/reject this request.", q->question ); 154 } 152 155 else 153 irc_usermsg( irc, "Question:" ); 154 155 irc_usermsg( irc, "%s\nYou can use the yes/no commands to answer this question.", q->question ); 156 { 157 irc_usermsg( irc, "New request:" ); 158 irc_usermsg( irc, "%s\nYou can use the yes/no commands to accept/reject this request.", q->question ); 159 } 156 160 } 157 161
Note: See TracChangeset
for help on using the changeset viewer.