Revision: 615
Author: kerphi
Date: 2006-06-17 05:33:27 -0700 (Sat, 17 Jun 2006)
ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=615&view=rev
Log Message:
-----------
Fix warning: Missing argument 4 for pfcProxyCommand_auth::run()
Modified Paths:
--------------
trunk/src/commands/send.class.php
Modified: trunk/src/commands/send.class.php
===================================================================
--- trunk/src/commands/send.class.php 2006-06-17 10:58:45 UTC (rev 614)
+++ trunk/src/commands/send.class.php 2006-06-17 12:33:27 UTC (rev 615)
@@ -32,7 +32,7 @@
{
// send an error because the user is not online
$cmd =& pfcCommand::Factory("error");
- $cmd->run($xml_reponse, $clientid, _pfc("Can't send the message, %s is offline", $pvnick));
+ $cmd->run($xml_reponse, $clientid, _pfc("Can't send the message, %s is offline", $pvnick), $sender, $recipient, $recipientid);
$can_send = false;
}
}
@@ -48,7 +48,7 @@
foreach($errors as $e)
if ($c->debug) pxlog("error /send, user can't send a message -> nick=".$u->nick." err=".$e, "chat", $c->getId());
$cmd =& pfcCommand::Factory("error");
- $cmd->run($xml_reponse, $clientid, $errors);
+ $cmd->run($xml_reponse, $clientid, $errors, $sender, $recipient, $recipientid);
if (isset($errors[$c->prefix."handle"])) // the nick is empty so give it focus
$xml_reponse->addScript("$('".$c->prefix."handle').focus();");
$can_send = false;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|