src/protocols/silc/ops.c

changeset 10740
a1cb6b819a21
parent 10732
5e314ab498bf
child 10751
e15f4f5927ce
--- a/src/protocols/silc/ops.c	Sat Mar 26 21:22:53 2005 +0000
+++ b/src/protocols/silc/ops.c	Sat Mar 26 23:25:18 2005 +0000
@@ -1537,7 +1537,8 @@
 	if (!sg->detaching)
 		gaim_connection_error(gc, _("Disconnected by server"));
 	else
-		gaim_connection_destroy(gc);
+		/* TODO: Does this work correctly? Maybe we need to set wants_to_die? */
+		gaim_account_disconnect(gaim_connection_get_account(gc));
 }
 
 

mercurial