aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 360648457f..f5ce9ea16c 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -314,14 +314,14 @@ if ($mode == 'approve' || $mode == 'disapprove')
}
// Only Moderators can go beyond this point
-if ($user->data['user_id'] == ANONYMOUS)
+if (!$user->data['is_registered'])
{
- login_box('', $user->lang['LOGIN_EXPLAIN_MCP']);
-
- if ($user->data['user_id'] == ANONYMOUS)
+ if ($user->data['is_bot'])
{
redirect("index.$phpEx$SID");
}
+
+ login_box('', $user->lang['LOGIN_EXPLAIN_MCP']);
}
$quickmod = (isset($_REQUEST['quickmod'])) ? true : false;