Added some info
Fix for spam warning for php(Thanks for bug report flames)
This commit is contained in:
parent
8e59f37995
commit
b3ccd203c8
2 changed files with 5 additions and 2 deletions
|
|
@ -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');
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue