forked from GithubBackups/vichan
post.php: remove unused functions related to filter; add ip key to post
This commit is contained in:
parent
38095f0972
commit
4429e8e55a
3
post.php
3
post.php
@ -597,6 +597,7 @@ if (isset($_POST['delete'])) {
|
||||
// Check if banned
|
||||
checkBan($board['uri']);
|
||||
|
||||
$post['ip'] = $_SERVER['REMOTE_ADDR'];
|
||||
// Check for CAPTCHA right after opening the board so the "return" link is in there.
|
||||
try {
|
||||
$provider = $config['captcha']['provider'];
|
||||
@ -1272,8 +1273,6 @@ if (isset($_POST['delete'])) {
|
||||
nntp_publish($message, $msgid);
|
||||
}
|
||||
|
||||
insertFloodPost($post);
|
||||
|
||||
// Handle cyclical threads
|
||||
if (!$post['op'] && isset($thread['cycle']) && $thread['cycle']) {
|
||||
delete_cyclical_posts($board['uri'], $post['thread'], $config['cycle_limit']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user