comparison src/server.c @ 3792:2567aabdf624

[gaim-migrate @ 3932] Do we really ever use this preference? committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Wed, 23 Oct 2002 02:49:26 +0000
parents fb519383a058
children b2ec492c9afe
comparison
equal deleted inserted replaced
3791:06762b8e1194 3792:2567aabdf624
575 } else { 575 } else {
576 name = g_strdup(name); 576 name = g_strdup(name);
577 message = g_memdup(message, len); 577 message = g_memdup(message, len);
578 } 578 }
579 579
580 #if 0
580 /* TiK, using TOC, sends an automated message in order to get your away message. Now, 581 /* TiK, using TOC, sends an automated message in order to get your away message. Now,
581 * this is one of the biggest hacks I think I've seen. But, in order to be nice to 582 * this is one of the biggest hacks I think I've seen. But, in order to be nice to
582 * TiK, we're going to give users the option to ignore it. */ 583 * TiK, we're going to give users the option to ignore it. */
583 if ((away_options & OPT_AWAY_TIK_HACK) && gc->away && strlen(gc->away) && (len < 0) && 584 if ((away_options & OPT_AWAY_TIK_HACK) && gc->away && strlen(gc->away) && (len < 0) &&
584 !strcmp(message, ">>>Automated Message: Getting Away Message<<<")) { 585 !strcmp(message, ">>>Automated Message: Getting Away Message<<<")) {
587 g_free(tmpmsg); 588 g_free(tmpmsg);
588 g_free(name); 589 g_free(name);
589 g_free(message); 590 g_free(message);
590 return; 591 return;
591 } 592 }
593 #endif
592 594
593 /* if you can't figure this out, stop reading right now. 595 /* if you can't figure this out, stop reading right now.
594 * "we're not worthy! we're not worthy!" */ 596 * "we're not worthy! we're not worthy!" */
595 if ((len < 0) && (convo_options & OPT_CONVO_SEND_LINKS)) 597 if ((len < 0) && (convo_options & OPT_CONVO_SEND_LINKS))
596 linkify_text(message); 598 linkify_text(message);