Mercurial > pidgin.yaz
changeset 962:e006338ce34e
[gaim-migrate @ 972]
small fix for away message escaping
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 10 Oct 2000 09:11:27 +0000 |
parents | 9189916471f5 |
children | c1fb7afe4fd7 |
files | src/server.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/server.c Tue Oct 10 03:36:11 2000 +0000 +++ b/src/server.c Tue Oct 10 09:11:27 2000 +0000 @@ -755,8 +755,10 @@ /* apply default fonts and colors */ tmpmsg = stylize(awaymessage->message, MSG_LEN); - escape_text(tmpmsg); - escape_message(tmpmsg); + if (gc->protocol == PROTO_TOC) { + escape_text(tmpmsg); + escape_message(tmpmsg); + } serv_send_im(name, away_subs(tmpmsg, alias), 1); g_free(tmpmsg); tmpmsg = stylize(awaymessage->message, MSG_LEN);