Allow admins to post even if not enough RAC

[skip-ci]
This commit is contained in:
Christian Beer 2016-02-22 17:09:20 +01:00
parent a23c646ca5
commit d806276335
1 changed files with 2 additions and 0 deletions

View File

@ -1164,6 +1164,8 @@ function user_can_create_thread($user, $forum) {
}
function check_post_access($user, $forum) {
if (is_admin($user)) return;
switch ($forum->parent_type) {
case 0:
if ($user->prefs->privilege(S_MODERATOR)) return;