[Phpfreechat-svn] SF.net SVN: phpfreechat: [574] trunk/src/proxys/noflood.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-06-14 13:24:09
|
Revision: 574 Author: kerphi Date: 2006-06-14 06:24:02 -0700 (Wed, 14 Jun 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=574&view=rev Log Message: ----------- Write a more explicite message when the flooder is warnned Modified Paths: -------------- trunk/src/proxys/noflood.class.php Modified: trunk/src/proxys/noflood.class.php =================================================================== --- trunk/src/proxys/noflood.class.php 2006-06-14 13:03:59 UTC (rev 573) +++ trunk/src/proxys/noflood.class.php 2006-06-14 13:24:02 UTC (rev 574) @@ -53,8 +53,9 @@ if ($nbflood>$c->proxys_cfg[$this->proxyname]["limit"]) { // kick the flooder - $msg = _pfc("you are a flooder"); + $msg = _pfc("Please don't post so many message, flood is not tolerated"); $xml_reponse->addScript("alert('".addslashes($msg)."');"); + // @todo kick the user return; } @@ -68,4 +69,4 @@ } } -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |