forked from leftypol/leftypol
Check if thread exists before posting.
This commit is contained in:
parent
e66c1e7f8d
commit
a3b604243b
3 changed files with 20 additions and 1 deletions
2
post.php
2
post.php
|
@ -83,6 +83,8 @@
|
|||
|
||||
sql_open();
|
||||
if(!openBoard($post['board'])) error(ERROR_NOBOARD);
|
||||
if(!$OP && !threadExists($post['thread']))
|
||||
error(ERROR_NONEXISTANT);
|
||||
|
||||
$trip = generate_tripcode($post['name']);
|
||||
$post['name'] = $trip[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue