mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Minor changes
git-svn-id: file:///svn/phpbb/trunk@4592 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
abf3cadc48
commit
fca087f846
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue