diff 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
line wrap: on
line diff
--- a/src/server.c	Mon Apr 28 02:41:00 2003 +0000
+++ b/src/server.c	Mon Apr 28 06:11:49 2003 +0000
@@ -793,26 +793,6 @@
 		message = g_memdup(msg, len);
 	}
 
-#if 0
-	/*
-	 * TiK, using TOC, sends an automated message in order to get your
-	 * away message. Now, this is one of the biggest hacks I think I've
-	 * seen. But, in order to be nice to TiK, we're going to give users
-	 * the option to ignore it.
-	 */
-	if ((away_options & OPT_AWAY_TIK_HACK) && gc->away &&
-		strlen(gc->away) && (len < 0) &&
-
-	    !strcmp(message, ">>>Automated Message: Getting Away Message<<<")) {
-		char *tmpmsg = stylize(awaymessage->message, MSG_LEN);
-		serv_send_im(gc, name, tmpmsg, -1, IM_FLAG_AWAY);
-		g_free(tmpmsg);
-		g_free(name);
-		g_free(message);
-		return;
-	}
-#endif
-
 	/*
 	 * If you can't figure this out, stop reading right now.
 	 * "We're not worthy! We're not worthy!"