X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_wr.php;h=7d816d7ab7b320b39f2e812bd83329430d093f71;hb=66f94441ec85a5555c7280aff03ba7e5d661c364;hp=1d0b61ef9a3ef11ef9e3243a4be65354490cfc1c;hpb=634d45b289a7c58aff3a0a4d3a16907a22216d20;p=brisk.git diff --git a/web/index_wr.php b/web/index_wr.php index 1d0b61e..7d816d7 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -796,10 +796,12 @@ function index_wr_main(&$brisk, $remote_addr_full, $get, $post, $cookie) $not_allowed_msg = nickserv_msg($dt, sprintf($mlang_indwr['tabwait'][$G_lang], $table->wakeup_time - $curtime)); } - else if ($table->auth_type == TABLE_AUTH_TY_CERT && ( ! $user->is_cert() ) ) { + else if ( $table->auth_type == TABLE_AUTH_TY_CERT && + (!$user->is_cert() || $user->is_appr()) ) { $not_allowed_msg = nickserv_msg($dt, $mlang_indwr['mustcert'][$G_lang]); } - else if ($table->auth_type == TABLE_AUTH_TY_AUTH && ( ! $user->is_auth() ) ) { + else if ( $table->auth_type == TABLE_AUTH_TY_AUTH && + (!$user->is_auth() || $user->is_appr()) ) { $not_allowed_msg = nickserv_msg($dt, $mlang_indwr['mustauth'][$G_lang]); } else if ($user->flags & USER_FLAG_TY_FIRONLY && $table->player_n > 0) {