diff src/server.c @ 736:d05d746384a7

[gaim-migrate @ 746] Eric the Lumberjack continues to hack away at the tree. When people ask what kinds of trees Eric hacks, he simply replied "CVS trees. They're mostly used for computer stuff". Then the ignorants go away, thinking they have been enlightened into the world of computers, which unknowingly they have been. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 22 Aug 2000 00:37:01 +0000
parents efd72a117875
children eec93c5929b9
line wrap: on
line diff
--- a/src/server.c	Mon Aug 21 21:41:44 2000 +0000
+++ b/src/server.c	Tue Aug 22 00:37:01 2000 +0000
@@ -672,6 +672,12 @@
 	g_free(angel);
 #endif
 	
+	if ((general_options & OPT_GEN_TIK_HACK) && awaymessage &&
+	    !strcmp(message, ">>>Automated Message: Getting Away Message<<<")) {
+	    	serv_send_im(name, awaymessage->message, 1);
+	    	return;
+	}
+	
         cnv = find_conversation(name);
 
 	if (general_options & OPT_GEN_SEND_LINKS) {