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([