[Phpfreechat-svn] SF.net SVN: phpfreechat: [554] trunk/src/commands/nick.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-06-08 19:32:45
|
Revision: 554 Author: kerphi Date: 2006-06-08 12:32:39 -0700 (Thu, 08 Jun 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=554&view=rev Log Message: ----------- Do not show "xxx is connected" notice for 1.x branche Modified Paths: -------------- trunk/src/commands/nick.class.php Modified: trunk/src/commands/nick.class.php =================================================================== --- trunk/src/commands/nick.class.php 2006-06-06 17:34:11 UTC (rev 553) +++ trunk/src/commands/nick.class.php 2006-06-08 19:32:39 UTC (rev 554) @@ -88,13 +88,15 @@ $u->saveInCache(); $xml_reponse->addScript("alert('join: u->nick=".$u->nick); - + + /* $cmd =& pfcCommand::Factory("notice"); foreach($u->channels as $id => $chan) $cmd->run($xml_reponse, $clientid, _pfc("%s is connected", $u->nick), $sender, $chan["recipient"], $id, 2); foreach($u->privmsg as $id => $pv) $cmd->run($xml_reponse, $clientid, _pfc("%s is connected", $u->nick), $sender, $pv["recipient"], $id, 2); - + */ + $xml_reponse->addScript("pfc.handleResponse('nick', 'connected', '".$newnick."');"); if ($c->debug) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |