mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-09 11:24:35 +02:00
Minor changes
git-svn-id: file:///svn/phpbb/trunk@4592 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -339,7 +339,7 @@ class messenger
|
|||||||
$this->jabber->port = ($config['jab_port']) ? $config['jab_port'] : 5222;
|
$this->jabber->port = ($config['jab_port']) ? $config['jab_port'] : 5222;
|
||||||
$this->jabber->username = $config['jab_username'];
|
$this->jabber->username = $config['jab_username'];
|
||||||
$this->jabber->password = $config['jab_password'];
|
$this->jabber->password = $config['jab_password'];
|
||||||
$this->jabber->resource = (!empty($config['jab_resource'])) ? htmlentities($config['jab_resource']) : '';
|
$this->jabber->resource = ($config['jab_resource']) ? $config['jab_resource'] : '';
|
||||||
|
|
||||||
if (!$this->jabber->Connect())
|
if (!$this->jabber->Connect())
|
||||||
{
|
{
|
||||||
@ -453,7 +453,7 @@ class queue
|
|||||||
$this->jabber->port = ($config['jab_port']) ? $config['jab_port'] : 5222;
|
$this->jabber->port = ($config['jab_port']) ? $config['jab_port'] : 5222;
|
||||||
$this->jabber->username = $config['jab_username'];
|
$this->jabber->username = $config['jab_username'];
|
||||||
$this->jabber->password = $config['jab_password'];
|
$this->jabber->password = $config['jab_password'];
|
||||||
$this->jabber->resource = (!empty($config['jab_resource'])) ? htmlentities($config['jab_resource']) : '';
|
$this->jabber->resource = ($config['jab_resource']) ? $config['jab_resource'] : '';
|
||||||
|
|
||||||
if (!$this->jabber->Connect())
|
if (!$this->jabber->Connect())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user