Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.c @ 28891:4fd0baa32a9e
jabber: Fix a few places where the default for require_tls was wrong.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 06 Nov 2009 08:55:36 +0000 |
parents | fa7f3426ed13 |
children | 96ba7fd24177 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Fri Nov 06 08:47:28 2009 +0000 +++ b/libpurple/protocols/jabber/jabber.c Fri Nov 06 08:55:36 2009 +0000 @@ -200,7 +200,7 @@ jabber_stream_set_state(js, JABBER_STREAM_INITIALIZING_ENCRYPTION); return; } - } else if(purple_account_get_bool(js->gc->account, "require_tls", FALSE) && !jabber_stream_is_ssl(js)) { + } else if(purple_account_get_bool(js->gc->account, "require_tls", JABBER_DEFAULT_REQUIRE_TLS) && !jabber_stream_is_ssl(js)) { purple_connection_error_reason(js->gc, PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR, _("You require encryption, but it is not available on this server."));