Skip to content

Commit

Permalink
Merge pull request #12 from CrystSw/bugfix
Browse files Browse the repository at this point in the history
条件式の不備を修正
  • Loading branch information
CrystSw authored Nov 3, 2020
2 parents c83a399 + 4a4d8c1 commit 1b73b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corefiles/OlinvasCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ public function onMessage(ConnectionInterface $from, $message){
//フレンドキーにマルチバイトが含まれていないか
strlen($roomFriendKey) !== mb_strlen($roomFriendKey)
//フレンドキーが12文字以上ではないか
|| strlen($roomPassword) > 20
|| strlen($roomFriendKey) > 12
)
{
/*パケット送信元へ拒否応答*/
Expand Down

0 comments on commit 1b73b78

Please sign in to comment.