mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 06:20:46 +02:00
Some changes... non-invasive...
git-svn-id: file:///svn/phpbb/trunk@8025 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -416,7 +416,7 @@ class jabber
|
||||
}
|
||||
|
||||
// Let's use TLS if SSL is not enabled and we can actually use it
|
||||
if (!$this->session['ssl'] && $this->can_use_tls() && isset($xml['stream:features'][0]['#']['starttls']))
|
||||
if (!$this->session['ssl'] && $this->can_use_tls() && $this->can_use_ssl() && isset($xml['stream:features'][0]['#']['starttls']))
|
||||
{
|
||||
$this->add_to_log('Switching to TLS.');
|
||||
$this->send("<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>\n");
|
||||
|
Reference in New Issue
Block a user