diff --git a/dorf2.php b/dorf2.php index ce99119e..e54ff3f9 100644 --- a/dorf2.php +++ b/dorf2.php @@ -17,15 +17,6 @@ if(isset($_GET['newdid'])) { }else{ $building->procBuild($_GET); } -if(isset($_GET['master']) && isset($_GET['id']) && isset($_GET['time']) && $session->gold >= 1 && $session->goldclub && $village->master == 0) { -if($session->access!=BANNED){ -$level = $database->getResourceLevel($village->wid); -$database->addBuilding($village->wid, $_GET['id'], $_GET['master'], 1, $_GET['time'], 1, $level['f'.$_GET['id']] + 1 + count($database->getBuildingByField($village->wid,$_GET['id']))); -header("Location: ".$_SERVER['PHP_SELF']); -}else{ -header("Location: banned.php"); -} -} ?> @@ -106,4 +97,4 @@ echo round(($generator->pageLoadTimeEnd()-$start)*1000);
- \ No newline at end of file +