aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 675b390672..f3e6c008c4 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -164,6 +164,10 @@ if ($post_data['forum_password'])
}
// Check permissions
+if ($user->data['is_bot'])
+{
+ redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
+}
// Is the user able to read within this forum?
if (!$auth->acl_get('f_read', $forum_id))