From e2e8c4b5dcca3dddfda6e60850a6754018e8f60d Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 10 Oct 2012 11:42:24 -0700 Subject: Remove unneeded ssl_support checks. --- sleekxmpp/features/feature_starttls/starttls.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sleekxmpp/features') diff --git a/sleekxmpp/features/feature_starttls/starttls.py b/sleekxmpp/features/feature_starttls/starttls.py index 212b9da5..eb5eee1d 100644 --- a/sleekxmpp/features/feature_starttls/starttls.py +++ b/sleekxmpp/features/feature_starttls/starttls.py @@ -54,13 +54,9 @@ class FeatureSTARTTLS(BasePlugin): return False elif not self.xmpp.use_tls: return False - elif self.xmpp.ssl_support: + else: self.xmpp.send(features['starttls'], now=True) return True - else: - log.warning("The module tlslite is required to log in" + \ - " to some servers, and has not been found.") - return False def _handle_starttls_proceed(self, proceed): """Restart the XML stream when TLS is accepted.""" -- cgit v1.2.3