comparison libgaim/protocols/irc/parse.c @ 14933:e6ac2ca2da0f

[gaim-migrate @ 17705] Update this comment to reflect what seemed to be a consensus on IRC committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 08 Nov 2006 10:06:36 +0000
parents bad6e64c6405
children 4504a21b1d8f
comparison
equal deleted inserted replaced
14932:94c69d2efae5 14933:e6ac2ca2da0f
536 guint i; 536 guint i;
537 537
538 irc->recv_time = time(NULL); 538 irc->recv_time = time(NULL);
539 539
540 /* 540 /*
541 * ari seems to think that we should convert input to UTF8 before 541 * The data based to irc-receiving-text is the raw protocol data.
542 * emitting it with the signal. Mark Doliner doesn't know if that 542 * TODO: It should be passed as an array of bytes and a length
543 * would be an improvement or not, so he decided to put this 543 * instead of a null terminated string.
544 * comment here so that people in the future can decide.
545 */ 544 */
546 gaim_signal_emit(_irc_plugin, "irc-receiving-text", gaim_account_get_connection(irc->account), &input); 545 gaim_signal_emit(_irc_plugin, "irc-receiving-text", gaim_account_get_connection(irc->account), &input);
547 546
548 if (!strncmp(input, "PING ", 5)) { 547 if (!strncmp(input, "PING ", 5)) {
549 msg = irc_format(irc, "vv", "PONG", input + 5); 548 msg = irc_format(irc, "vv", "PONG", input + 5);