From 32bb251381fab2a2252330fa6bafc33fcd4e045c Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 5 Jul 2008 18:25:09 +0000 Subject: [PATCH] typo --- src/common/connection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/connection.py b/src/common/connection.py index 12779292a..145eb158b 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -617,8 +617,9 @@ class Connection(ConnectionHandlers): 'warn_when_plaintext_connection'): self.dispatch('PLAIN_CONNECTION', (con,)) return True + print hasattr(con.Connection, '_sslContext') if _con_type in ('tls', 'ssl') and not hasattr(con.Connection, - '_sslcontext') and gajim.config.get_per('accounts', self.name, + '_sslContext') and gajim.config.get_per('accounts', self.name, 'warn_when_insecure_ssl_connection'): # Pyopenssl is not used self.dispatch('INSECURE_SSL_CONNECTION', (con, _con_type))