Mercurial > pidgin
changeset 263:8aa7368baae7
[gaim-migrate @ 273]
Away messages must be escaped before auto-replying.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 25 May 2000 05:25:45 +0000 |
parents | 07abf2ed6665 |
children | ced25773243c |
files | src/server.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/server.c Thu May 25 04:56:31 2000 +0000 +++ b/src/server.c Thu May 25 05:25:45 2000 +0000 @@ -639,6 +639,7 @@ if (awaymessage != NULL) { time_t t; + char tmpmsg[BUF_LEN]; time(&t); @@ -651,7 +652,10 @@ if (is_idle) is_idle = -1; - serv_send_im(name, awaymessage->message, 1); + strcpy(tmpmsg, awaymessage->message); + escape_text(tmpmsg); + escape_message(tmpmsg); + serv_send_im(name, tmpmsg, 1); if (is_idle == -1) is_idle = 1;