changeset 5727:2e9f040f6b66

[gaim-migrate @ 6150] this should be better committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 03 Jun 2003 21:44:40 +0000
parents b3d7ba9af03d
children 4115f24e6e24
files src/connection.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/connection.c	Tue Jun 03 21:40:56 2003 +0000
+++ b/src/connection.c	Tue Jun 03 21:44:40 2003 +0000
@@ -329,10 +329,10 @@
 
 	ops = gaim_get_connection_ui_ops();
 
-	gaim_connection_disconnect(gc);
-
 	if (ops != NULL && ops->disconnected != NULL)
 		ops->disconnected(gc, text);
+
+	gaim_connection_disconnect(gc);
 }
 
 void