summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'post.php')
-rw-r--r--post.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/post.php b/post.php
index 6e893747..1c511f9c 100644
--- a/post.php
+++ b/post.php
@@ -216,6 +216,7 @@ if (isset($_POST['delete'])) {
if ($post['mod'] = isset($_POST['mod']) && $_POST['mod']) {
require 'inc/mod/auth.php';
+ check_login(false);
if (!$mod) {
// Liar. You're not a mod.
error($config['error']['notamod']);