aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_jabber.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp/acp_jabber.php')
-rw-r--r--phpBB/includes/acp/acp_jabber.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_jabber.php b/phpBB/includes/acp/acp_jabber.php
index 2799c97959..7c7e4586e0 100644
--- a/phpBB/includes/acp/acp_jabber.php
+++ b/phpBB/includes/acp/acp_jabber.php
@@ -61,7 +61,7 @@ class acp_jabber
// try to create account if it doesn't exist
if ($jab_enable)
{
- if ($jab_host != $config['jab_host'] || $jab_username != $config['jab_username'])
+ if (($jab_host != $config['jab_host'] || $jab_username != $config['jab_username']) && $jab_username)
{
if (!$jabber->connect())
{