qulogic/pidgin

Parents 0646ef814a74
Children bfcf14861801
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.
--- 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;
}