src/oscar.c

changeset 810
a6c6f5611d98
parent 809
dc30e6c9a8a6
child 811
b6934c1380f0
--- a/src/oscar.c	Thu Aug 31 05:06:23 2000 +0000
+++ b/src/oscar.c	Thu Aug 31 06:04:50 2000 +0000
@@ -422,16 +422,21 @@
 
 		serv_finish_login();
 		gaim_setup();
+
+		aim_bos_clientready(sess, command->conn);
+		debug_print("Roger that, all systems go\n");
+
+		/* FIXME: this should really go before clientready to prevent
+		 * flashing on the people on the deny list. But if it goes there
+		 * the buddy list may be too big and cause us to sign off
+		 * prematurely. but the permit/deny stuff isn't working right now
+		 * anyway so this is a good enough fix for right now :-P */
 		if (bud_list_cache_exists())
 			do_import(NULL, 0);
 
 		debug_print("buddy list loaded\n");
 
 		setup_buddy_chats();
-
-		aim_bos_clientready(sess, command->conn);
-		debug_print("Roger that, all systems go\n");
-
 		aim_bos_reqservice(sess, command->conn, AIM_CONN_TYPE_CHATNAV);
 
 		break;

mercurial