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.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/functions_jabber.php b/phpBB/includes/functions_jabber.php
index fdc76c03da..e0425289f2 100644
--- a/phpBB/includes/functions_jabber.php
+++ b/phpBB/includes/functions_jabber.php
@@ -180,7 +180,6 @@ class Jabber
function SendAuth()
{
$this->auth_id = 'auth_' . md5(time() . $_SERVER['REMOTE_ADDR']);
-
$this->jid = "{$this->username}@{$this->server}/{$this->resource}";
// request available authentication methods
@@ -1071,7 +1070,7 @@ class CJP_StandardConnector
function ReadFromSocket($chunksize)
{
- $buffer = @fread($this->active_socket, $chunksize);
+ $buffer = stripslashes(@fread($this->active_socket, $chunksize));
@set_magic_quotes_runtime(get_magic_quotes_gpc());
return $buffer;