diff libpurple/protocols/irc/irc.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 682543aced31
children ba41f2a60253
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.c	Tue Oct 09 13:36:08 2007 +0000
+++ b/libpurple/protocols/irc/irc.c	Tue Oct 09 13:42:15 2007 +0000
@@ -297,7 +297,6 @@
 	gc->flags |= PURPLE_CONNECTION_NO_NEWLINES;
 
 	if (strpbrk(username, " \t\v\r\n") != NULL) {
-		gc->wants_to_die = TRUE;
 		purple_connection_error_reason (gc, PURPLE_REASON_INVALID_SETTINGS,
 			_("IRC nicks may not contain whitespace"));
 		return;
@@ -328,7 +327,6 @@
 					purple_account_get_int(account, "port", IRC_DEFAULT_SSL_PORT),
 					irc_login_cb_ssl, irc_ssl_connect_failure, gc);
 		} else {
-			gc->wants_to_die = TRUE;
 			purple_connection_error_reason (gc, PURPLE_REASON_NO_SSL_SUPPORT,
 				_("SSL support unavailable"));
 			return;