diff src/protocols/silc/ops.c @ 10740:94cc67130789

[gaim-migrate @ 12342] More big changes, yay. I combined gaim_connection_new and gaim_connection_connect. Earlier today I realized that it's dumb to have a GaimConnection that isn't connected. I'm about to combine gaim_connection_disconnect and gaim_connection_destroy, as well. I added a "password" field to GaimConnection. It holds the password used to login a specific GaimConnection. Now, when "remember password" is false, account->password is NEVER set. When the user tries to sign on and Gaim prompts for the password, it goes directly into the GaimConnection. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 26 Mar 2005 23:25:18 +0000
parents c4cb90065e1d
children bf5e48215158
line wrap: on
line diff
--- 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));
 }