From 4a4d8c1adea0f974282847089172f67733c86ba9 Mon Sep 17 00:00:00 2001 From: CrystSw Date: Tue, 3 Nov 2020 23:10:08 +0900 Subject: [PATCH] =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E5=BC=8F=E3=81=AE=E4=B8=8D?= =?UTF-8?q?=E5=82=99=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/corefiles/OlinvasCore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corefiles/OlinvasCore.php b/src/corefiles/OlinvasCore.php index f1b3834..385ad98 100644 --- a/src/corefiles/OlinvasCore.php +++ b/src/corefiles/OlinvasCore.php @@ -479,7 +479,7 @@ public function onMessage(ConnectionInterface $from, $message){ //フレンドキーにマルチバイトが含まれていないか strlen($roomFriendKey) !== mb_strlen($roomFriendKey) //フレンドキーが12文字以上ではないか - || strlen($roomPassword) > 20 + || strlen($roomFriendKey) > 12 ) { /*パケット送信元へ拒否応答*/