comparison src/server.c @ 5248:d635e8fe2fba

[gaim-migrate @ 5620] Just cleaning up some loose ends. This should fix compilation on Windows oxen. How do you peeps feel about the TOMBSTONE thing? I just like using that word. "TOBMSTONE." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 28 Apr 2003 06:11:49 +0000
parents a75c799e3db7
children 216e28b00b7f
comparison
equal deleted inserted replaced
5247:60983a46700e 5248:d635e8fe2fba
790 message = buffy; 790 message = buffy;
791 } else { 791 } else {
792 name = g_strdup(who); 792 name = g_strdup(who);
793 message = g_memdup(msg, len); 793 message = g_memdup(msg, len);
794 } 794 }
795
796 #if 0
797 /*
798 * TiK, using TOC, sends an automated message in order to get your
799 * away message. Now, this is one of the biggest hacks I think I've
800 * seen. But, in order to be nice to TiK, we're going to give users
801 * the option to ignore it.
802 */
803 if ((away_options & OPT_AWAY_TIK_HACK) && gc->away &&
804 strlen(gc->away) && (len < 0) &&
805
806 !strcmp(message, ">>>Automated Message: Getting Away Message<<<")) {
807 char *tmpmsg = stylize(awaymessage->message, MSG_LEN);
808 serv_send_im(gc, name, tmpmsg, -1, IM_FLAG_AWAY);
809 g_free(tmpmsg);
810 g_free(name);
811 g_free(message);
812 return;
813 }
814 #endif
815 795
816 /* 796 /*
817 * If you can't figure this out, stop reading right now. 797 * If you can't figure this out, stop reading right now.
818 * "We're not worthy! We're not worthy!" 798 * "We're not worthy! We're not worthy!"
819 */ 799 */