From 01c254b5c056a1768dee5ab2420a2b2c6d3792ca Mon Sep 17 00:00:00 2001 From: kremsy Date: Wed, 30 Apr 2014 00:19:18 +0200 Subject: [PATCH] dedi minversion check --- application/core/ManiaControl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/core/ManiaControl.php b/application/core/ManiaControl.php index 5ac68bc8..44e9ff98 100644 --- a/application/core/ManiaControl.php +++ b/application/core/ManiaControl.php @@ -311,12 +311,12 @@ class ManiaControl implements CommandListener, TimerListener { // Connect to server $this->connect(); - /* - Commented for now, because of updates towards MP2 MCs + - Commented for now, because of updates towards MP2 MCs // Check if the version of the server is high enough $version = $this->client->getVersion(); if($version->build < self::MIN_DEDIVERSION) { trigger_error("The server has version ".$version->build.", while at least ".self::MIN_DEDIVERSION." is required!", E_USER_ERROR); - }*/ + } // OnInit callback $this->callbackManager->triggerCallback(CallbackManager::CB_ONINIT);