Skip to content

Commit

Permalink
add commented traces
Browse files Browse the repository at this point in the history
git-svn-id: https://phpfreechat.svn.sourceforge.net/svnroot/phpfreechat/trunk@830 2772adf2-ac07-0410-9d30-e29d8120292e
  • Loading branch information
kerphi committed Oct 16, 2006
1 parent fbd31f2 commit d00244e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/commands/privmsg.class.php
Expand Up @@ -29,6 +29,8 @@ function run(&$xml_reponse, $p)
return;
}

//$this->trace($xml_reponse, $this->name, $sender);

// error: can't speak to unknown
if ($pvnickid == '')
{
Expand Down
4 changes: 2 additions & 2 deletions src/commands/send.class.php
Expand Up @@ -27,9 +27,9 @@ function run(&$xml_reponse, $p)
$cmd->run($xml_reponse, $cmdp);
return;
}

// $offline = $container->getMeta("offline", "nickname", $u->privmsg[$recipientid]["name"]);


// $offline = $container->getMeta("offline", "nickname", $u->privmsg[$recipientid]["name"]);

// if this channel is a pv (one to one channel),
// first of all, check if the other user is connected
Expand Down
3 changes: 3 additions & 0 deletions src/commands/who2.class.php
Expand Up @@ -45,6 +45,9 @@ function run(&$xml_reponse, $p)

$chanmeta = $this->_getChanMeta($recipient, $recipientid);

//if (preg_match("/^pv_/", $recipient))
//$this->trace($xml_reponse, 'who2', $recipient);

// check if info didn't change since last call
$sid = "pfc_who2_".$c->getId()."_".$clientid."_".$recipientid;
if (isset($_SESSION[$sid]) && $chanmeta == $_SESSION[$sid])
Expand Down

0 comments on commit d00244e

Please sign in to comment.