- Timestamp:
- 2010-12-06T00:03:49Z (14 years ago)
- Branches:
- master
- Children:
- d76e12f
- Parents:
- a429907
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_im.c
ra429907 rd88c92a 276 276 else 277 277 return FALSE; 278 279 return TRUE; 280 } 281 282 static gboolean bee_irc_user_action_response( bee_t *bee, bee_user_t *bu, const char *action, char * const args[], void *data ) 283 { 284 irc_t *irc = (irc_t *) bee->ui_data; 285 GString *msg = g_string_new( "\001" ); 286 287 g_string_append( msg, action ); 288 while( *args ) 289 { 290 if( strchr( *args, ' ' ) ) 291 g_string_append_printf( msg, " \"%s\"", *args ); 292 else 293 g_string_append_printf( msg, " %s", *args ); 294 args ++; 295 } 296 g_string_append_c( msg, '\001' ); 297 298 irc_send_msg( (irc_user_t *) bu->ui_data, "NOTICE", irc->user->nick, msg->str, NULL ); 278 299 279 300 return TRUE; … … 492 513 } 493 514 } 515 else if( iu->bu && iu->bu->ic && iu->bu->ic->acc->prpl->buddy_action ) 516 { 517 iu->bu->ic->acc->prpl->buddy_action( iu->bu, ctcp[0], ctcp + 1, NULL ); 518 } 494 519 495 520 return FALSE; … … 1041 1066 bee_irc_user_msg, 1042 1067 bee_irc_user_typing, 1068 bee_irc_user_action_response, 1043 1069 1044 1070 bee_irc_chat_new,
Note: See TracChangeset
for help on using the changeset viewer.