forked from GithubBackups/vichan
Merge pull request #455 from ninjadoge24/patch-1
Remove redundant check for existence of board
This commit is contained in:
commit
d00b9633c0
4
post.php
4
post.php
@ -236,10 +236,6 @@ elseif (isset($_POST['post'])) {
|
|||||||
} else
|
} else
|
||||||
$post['op'] = true;
|
$post['op'] = true;
|
||||||
|
|
||||||
// Check if board exists
|
|
||||||
if (!openBoard($post['board']))
|
|
||||||
error($config['error']['noboard']);
|
|
||||||
|
|
||||||
// Check if banned
|
// Check if banned
|
||||||
checkBan($board['uri']);
|
checkBan($board['uri']);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user