comparison src/server.c @ 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 fa681641643d
children 2cd7b73e2c9a
comparison
equal deleted inserted replaced
961:9189916471f5 962:e006338ce34e
753 is_idle = -1; 753 is_idle = -1;
754 754
755 /* apply default fonts and colors */ 755 /* apply default fonts and colors */
756 tmpmsg = stylize(awaymessage->message, MSG_LEN); 756 tmpmsg = stylize(awaymessage->message, MSG_LEN);
757 757
758 escape_text(tmpmsg); 758 if (gc->protocol == PROTO_TOC) {
759 escape_message(tmpmsg); 759 escape_text(tmpmsg);
760 escape_message(tmpmsg);
761 }
760 serv_send_im(name, away_subs(tmpmsg, alias), 1); 762 serv_send_im(name, away_subs(tmpmsg, alias), 1);
761 g_free(tmpmsg); 763 g_free(tmpmsg);
762 tmpmsg = stylize(awaymessage->message, MSG_LEN); 764 tmpmsg = stylize(awaymessage->message, MSG_LEN);
763 765
764 if (is_idle == -1) 766 if (is_idle == -1)