diff src/connection.c @ 5859:022786c7ab53

[gaim-migrate @ 6290] CUI is gone, long live gaim-remote! The old CUI functionality, which was for remote-controlling gaim, is now a Core Plugin, so any future UI (including the current, normal gaim gtk UI) can be remote-controlled. Applications will soon be able to link against the library and header files and provide their own remote-control of gaim, but why bother? :) If you use gaim-remote, make sure to load the new plugin. It won't auto-load. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 14 Jun 2003 06:06:40 +0000
parents 8c237274189f
children 059d95c67cda
line wrap: on
line diff
--- a/src/connection.c	Fri Jun 13 23:49:26 2003 +0000
+++ b/src/connection.c	Sat Jun 14 06:06:40 2003 +0000
@@ -123,9 +123,9 @@
 
 		serv_close(gc);
 
-		gaim_connection_set_state(gc, GAIM_DISCONNECTED);
+		connections = g_list_remove(connections, gc);
 
-		connections = g_list_remove(connections, gc);
+		gaim_connection_set_state(gc, GAIM_DISCONNECTED);
 
 		gaim_event_broadcast(event_signoff, gc);
 		system_log(log_signoff, gc, NULL,