Added some info

Fix for spam warning for php(Thanks for bug report flames)
This commit is contained in:
Jason Booth 2011-04-13 20:23:24 -05:00
parent 8e59f37995
commit b3ccd203c8
2 changed files with 5 additions and 2 deletions

View file

@ -26,7 +26,7 @@ if($_SERVER['REQUEST_METHOD'] == 'POST' && $_SESSION['lastchat'] < time())
}
elseif($_SERVER['REQUEST_METHOD'] == 'POST' && $_SESSION['lastchat'] > time())
{
echo json_encode(str_replace('%interval%', $msginterval, $config['spammessage']));
header('HTTP/1.1 403 Forbidden');
}
?>