From 14d2661be818d13a0c492d338ba25ba5b292b158 Mon Sep 17 00:00:00 2001 From: hide_d Date: Fri, 15 May 2020 00:38:26 +0900 Subject: [PATCH] =?UTF-8?q?npc=20=EC=A1=B0=EC=9E=91=20=EA=B6=8C=ED=95=9C?= =?UTF-8?q?=20=EC=95=88=EB=82=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/j_set_npc_control.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/hwe/j_set_npc_control.php b/hwe/j_set_npc_control.php index f69e0480..50253861 100644 --- a/hwe/j_set_npc_control.php +++ b/hwe/j_set_npc_control.php @@ -47,12 +47,7 @@ if (!$nationID) { 'reason'=>'국가에 소속되어있지 않습니다.', ]); } -if ($me['officer_level'] < 5) { - Json::die([ - 'result'=>false, - 'reason'=>'수뇌가 아닙니다.', - ]); -} + $permission = checkSecretPermission($me); if ($permission < 3) { Json::die([