diff src/toc.c @ 1153:3063e6743913

[gaim-migrate @ 1163] handle the keepalives better. have ICQ force keepalives for connections, it's a bad hack but it's probably necessary for a UDP protocol. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 28 Nov 2000 04:12:06 +0000
parents 22f3c32a28f6
children bab9f3dc07f8
line wrap: on
line diff
--- a/src/toc.c	Tue Nov 28 02:22:42 2000 +0000
+++ b/src/toc.c	Tue Nov 28 04:12:06 2000 +0000
@@ -47,7 +47,7 @@
 #include "pixmaps/dt_icon.xpm"
 #include "pixmaps/free_icon.xpm"
 
-#define REVISION "gaim:$Revision: 1156 $"
+#define REVISION "gaim:$Revision: 1163 $"
 
 #define TYPE_SIGNON    1
 #define TYPE_DATA      2
@@ -311,7 +311,6 @@
 		 * version of the config and then the toc_init_done message. we'll come back to
 		 * the callback in a better state if we get CONFIG anyway */
 
-		gc->options = gc->user->options;
 		tdt->state = STATE_ONLINE;
 
 		account_online(gc);
@@ -328,9 +327,6 @@
 			FILE_SEND_UID, FILE_GET_UID, B_ICON_UID, IMAGE_UID, VOICE_UID);
 		sflap_send(gc, snd, -1, TYPE_DATA);
 
-		if (gc->keepalive < 0)
-			update_keepalive(gc, gc->options & OPT_USR_KEEPALV);
-
 		return;
 	}