Revision: 631
Author: kerphi
Date: 2006-06-27 13:11:04 -0700 (Tue, 27 Jun 2006)
ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=631&view=rev
Log Message:
-----------
Show the join notice everytime
Modified Paths:
--------------
trunk/src/commands/join.class.php
Modified: trunk/src/commands/join.class.php
===================================================================
--- trunk/src/commands/join.class.php 2006-06-27 20:10:30 UTC (rev 630)
+++ trunk/src/commands/join.class.php 2006-06-27 20:11:04 UTC (rev 631)
@@ -33,13 +33,13 @@
// clear the cached nicknames list for the given channel
$nicklist_sid = $c->prefix."nicklist_".$c->getId()."_".$clientid."_".$chanid;
$_SESSION[$nicklist_sid] = NULL;
-
- // show a join message
- $cmd =& pfcCommand::Factory("notice");
- $cmd->run($xml_reponse, $clientid, _pfc("%s joins %s",$u->nick, $channame), $sender, $chanrecip, $chanid, 1);
}
+ // show a join message
+ $cmd =& pfcCommand::Factory("notice");
+ $cmd->run($xml_reponse, $clientid, _pfc("%s joins %s",$u->nick, $channame), $sender, $chanrecip, $chanid, 1);
+
//$xml_reponse->addScript("alert('join: chan=".$channame.", from_id=".$from_id."');");
// $xml_reponse->addScript("alert('join: u->nick=".$u->nick." chanid=".$chanid." channame=".addslashes($channame)."');");
// $xml_reponse->addScript("alert('join: fromidsid=".$from_id_sid."');");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|