changeset 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 ccb0403193df
children 3e3246eb204c
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;
 	}