From dde20bed697b9dfbe50ebbb6f40aba65968ccfce Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sun, 19 Jun 2016 21:36:46 +0200 Subject: [PATCH] . --- StupidIABattleship.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/StupidIABattleship.php b/StupidIABattleship.php index 0e6dd5a..bcb3a2e 100644 --- a/StupidIABattleship.php +++ b/StupidIABattleship.php @@ -94,9 +94,6 @@ switch($message['action']){ } $$key=$message['board'][$key]; } - if(!preg_match('/^[0-9]+-(1|2)$/',$match_id)){ - echo "parametre incorrect"; die; - } if(!is_it_possible_to_place_ships_on_grid($width,$height,$ship1,$ship2,$ship3,$ship4,$ship5,$ship6)){ echo "I don't want play this game";