Mercurial > pidgin.yaz
comparison src/server.c @ 592:7c75d69a1129
[gaim-migrate @ 602]
this really cool guy sent a patch to convert %n, %d and %t to things in
away messages. i just wish i could remember his name.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 03 Aug 2000 05:35:13 +0000 |
parents | f03f041c1aa9 |
children | 874ed877c854 |
comparison
equal
deleted
inserted
replaced
591:a26eb4c472d8 | 592:7c75d69a1129 |
---|---|
731 is_idle = -1; | 731 is_idle = -1; |
732 | 732 |
733 strcpy(tmpmsg, awaymessage->message); | 733 strcpy(tmpmsg, awaymessage->message); |
734 escape_text(tmpmsg); | 734 escape_text(tmpmsg); |
735 escape_message(tmpmsg); | 735 escape_message(tmpmsg); |
736 serv_send_im(name, tmpmsg, 1); | 736 serv_send_im(name, away_subs(tmpmsg, name), 1); |
737 | 737 |
738 if (is_idle == -1) | 738 if (is_idle == -1) |
739 is_idle = 1; | 739 is_idle = 1; |
740 | 740 |
741 if (cnv != NULL) | 741 if (cnv != NULL) |
742 write_to_conv(cnv, awaymessage->message, WFLAG_SEND | WFLAG_AUTO, NULL); | 742 write_to_conv(cnv, away_subs(awaymessage->message, name), WFLAG_SEND | WFLAG_AUTO, NULL); |
743 } | 743 } |
744 } | 744 } |
745 | 745 |
746 | 746 |
747 | 747 |