update: now banned players cannot get resources

This commit is contained in:
yi12345
2013-07-24 01:09:53 +03:00
parent b4b4968286
commit 82c2f4bb9c
+1 -1
View File
@@ -29,7 +29,7 @@ $userAccess = $database->getUserField($villageOwner,'access',0);
}
$maxcarry = $market->maxcarry;
$maxcarry *= $market->merchantAvail();
if(isset($_POST['ft'])=='check' && $allres!=0 && $allres <= $maxcarry && ($_POST['x']!="" && $_POST['y']!="" or $_POST['dname']!="") && $checkexist){
if(isset($_POST['ft'])=='check' && $allres!=0 && $allres <= $maxcarry && ($_POST['x']!="" && $_POST['y']!="" or $_POST['dname']!="") && $checkexist && $userAccess == 2){
?>
<form method="POST" name="snd" action="build.php">
<input type="hidden" name="ft" value="mk1">