# HG changeset patch # User Eric Warmenhoven # Date 1005718856 0 # Node ID e901fd3ebbad64d6100769ee8afda42c7201ec4f # Parent 8074f7ae5d3a0577bc02b7da3184ba26cc66ca34 [gaim-migrate @ 2728] this is what the old one did committer: Tailor Script diff -r 8074f7ae5d3a -r e901fd3ebbad src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Wed Nov 14 00:28:07 2001 +0000 +++ b/src/protocols/yahoo/yahoo.c Wed Nov 14 06:20:56 2001 +0000 @@ -483,7 +483,18 @@ } if (pkt->status == 1) { + char *m; + int i, j; strip_linefeed(msg); + m = msg; + for (i = 0, j = 0; m[i]; i++) { + if (m[i] == 033) { + while (m[i] != 'm') + i++; + continue; + } + msg[j++] = m[i]; + } serv_got_im(gc, from, msg, 0, tm); } else if (pkt->status == 2) { do_error_dialog(_("Your message did not get sent."), _("Gaim - Error"));