pull/14/head
gnieark 9 years ago
parent 8ec79c8a8d
commit 26d7fe1950

@ -7,8 +7,8 @@ switch($_POST['act']){
$alerts="";
//botGame -> doit exister
if(!in_array($_POST['$arenas'],$arenas)){
erreur(404,"wrong post parameter");
if(!in_array($_POST['botGame'],$arenas)){
error(404,"wrong post parameter");
}
//botname -> il ne doit pas y avoir un autre bot du même nom sur le même jeu

Loading…
Cancel
Save