diff libpurple/protocols/yahoo/yahoo.c @ 20816:efa448405f3d

Remove explicit setting of wants_to_die from prpls.
author Will Thompson <will.thompson@collabora.co.uk>
date Tue, 09 Oct 2007 13:42:15 +0000
parents f3cfcbbac3d8
children ba41f2a60253
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c	Tue Oct 09 13:36:08 2007 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Tue Oct 09 13:42:15 2007 +0000
@@ -201,7 +201,6 @@
 	char *message = NULL;
 
 	if (pkt->service == YAHOO_SERVICE_LOGOFF && pkt->status == -1) {
-		gc->wants_to_die = TRUE;
 		if (!purple_account_get_remember_password(account))
 			purple_account_set_password(account, NULL);
 		purple_connection_error_reason(gc, PURPLE_REASON_NAME_IN_USE,
@@ -2140,7 +2139,6 @@
 	else
 		fullmsg = g_strdup(msg);
 
-	gc->wants_to_die = TRUE;
 	purple_connection_error_reason(gc, PURPLE_REASON_AUTHENTICATION_FAILED, fullmsg);
 	g_free(msg);
 	g_free(fullmsg);