Better post.php allow_delete error msg

This commit is contained in:
8chan 2014-12-03 00:16:01 -08:00
parent dd1c160d35
commit 58c13bd2a7

View File

@ -49,7 +49,7 @@ if (isset($_POST['delete'])) {
// Check if deletion enabled
if (!$config['allow_delete'])
error(_('Post deletion is not allowed!'));
error(_('Users are not allowed to delete their own posts on this board.'));
if (empty($delete))
error($config['error']['nodelete']);