Mercurial > pidgin.yaz
comparison src/server.c @ 831:97f1ae636ed7
[gaim-migrate @ 841]
the away message page is about to get a major overhaul
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 02 Sep 2000 09:02:47 +0000 |
parents | 12d0aaef70fb |
children | bac7089491c1 |
comparison
equal
deleted
inserted
replaced
830:60284aef22f0 | 831:97f1ae636ed7 |
---|---|
633 g_free(angel); | 633 g_free(angel); |
634 | 634 |
635 if ((general_options & OPT_GEN_TIK_HACK) && awaymessage && | 635 if ((general_options & OPT_GEN_TIK_HACK) && awaymessage && |
636 !strcmp(message, ">>>Automated Message: Getting Away Message<<<")) | 636 !strcmp(message, ">>>Automated Message: Getting Away Message<<<")) |
637 { | 637 { |
638 serv_send_im(name, awaymessage->message, 1); | 638 char *tmpmsg = stylize(awaymessage->message, MSG_LEN); |
639 serv_send_im(name, tmpmsg, 1); | |
640 g_free(tmpmsg); | |
639 return; | 641 return; |
640 } | 642 } |
641 | 643 |
642 cnv = find_conversation(name); | 644 cnv = find_conversation(name); |
643 | 645 |
697 tmpmsg = stylize(awaymessage->message, MSG_LEN); | 699 tmpmsg = stylize(awaymessage->message, MSG_LEN); |
698 | 700 |
699 escape_text(tmpmsg); | 701 escape_text(tmpmsg); |
700 escape_message(tmpmsg); | 702 escape_message(tmpmsg); |
701 serv_send_im(name, away_subs(tmpmsg, name), 1); | 703 serv_send_im(name, away_subs(tmpmsg, name), 1); |
704 g_free(tmpmsg); | |
705 tmpmsg = stylize(awaymessage->message, MSG_LEN); | |
702 | 706 |
703 if (is_idle == -1) | 707 if (is_idle == -1) |
704 is_idle = 1; | 708 is_idle = 1; |
705 | 709 |
706 if (cnv != NULL) | 710 if (cnv != NULL) |