Check if thread exists before posting.

This commit is contained in:
Savetheinternet authored and Paul Merrill committed 2010-12-01 04:14:16 -08:00
1 parent e66c1e7f8d
commit a3b604243b
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];