aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_jabber.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_jabber.php')
-rw-r--r--phpBB/includes/functions_jabber.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_jabber.php b/phpBB/includes/functions_jabber.php
index 3ad96df928..4b9928089e 100644
--- a/phpBB/includes/functions_jabber.php
+++ b/phpBB/includes/functions_jabber.php
@@ -42,7 +42,7 @@ class jabber
$this->port = ($port) ? $port : 5222;
$this->username = $username;
$this->password = $password;
- $this->use_ssl = ($use_ssl && $this->can_use_ssl) ? true : false;
+ $this->use_ssl = ($use_ssl && $this->can_use_ssl()) ? true : false;
// Change port if we use SSL
if ($this->port == 5222 && $this->use_ssl)