Skip to content

Commit

Permalink
Temporary fix for the "notice" , where it can be used to spam.. now n…
Browse files Browse the repository at this point in the history
…oflood will check it and kick the ofender.
  • Loading branch information
Neumann-Valle authored and kerphi committed Mar 9, 2011
1 parent 6733de5 commit 5c26b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxies/noflood.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function run(&$xml_reponse, $p)
$c =& pfcGlobalConfig::Instance();
$u =& pfcUserConfig::Instance();

$cmdtocheck = array("send", "nick", "me");
$cmdtocheck = array("send", "nick","notice","me");
if ( in_array($this->name, $cmdtocheck) )
{
$container =& pfcContainer::Instance();
Expand Down

0 comments on commit 5c26b1a

Please sign in to comment.