diff libpurple/protocols/jabber/jabber.c @ 20076:ca7ab06673dd

Forgot to specify that the application shouldn't reconnect when no encryption is available on the server but the user has asked to require it.
author Andreas Monitzer <pidgin@monitzer.com>
date Sun, 16 Sep 2007 00:00:22 +0000
parents 5103485b4b26
children f24a2cacacd1 be2538a92099 5913725cbcd6 591267f6f1d5
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Sat Sep 15 23:47:05 2007 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Sun Sep 16 00:00:22 2007 +0000
@@ -141,6 +141,7 @@
 		if(jabber_process_starttls(js, packet))
 			return;
 	} else if(purple_account_get_bool(js->gc->account, "require_tls", FALSE) && !js->gsc) {
+		js->gc->wants_to_die = TRUE;
 		purple_connection_error(js->gc, _("You require encryption, but it is not available on this server."));
 		return;
 	}