diff --git a/post.php b/post.php index beea3cc2..fb927987 100644 --- a/post.php +++ b/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']);