Check if thread exists before posting.

This commit is contained in:
Savetheinternet committed 2010-11-30 23:12:54 +11:00
1 parent 79f0656ca2
commit b41a4a6ac7
3 files changed
+20 -1

No files matched your search

+2
View File
@@ -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];