From 1c03fb0de9731ec198f1a9739a04f5b661c35a19 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Tue, 23 Apr 2013 10:33:15 +0200 Subject: [PATCH] Removed the rcon.port property, being the same as the server --- src/API/ServerAPI.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/API/ServerAPI.php b/src/API/ServerAPI.php index d548f070..f0716a66 100644 --- a/src/API/ServerAPI.php +++ b/src/API/ServerAPI.php @@ -118,7 +118,6 @@ class ServerAPI{ "enable-query" => false, "enable-rcon" => false, "rcon.password" => substr(base64_encode(Utils::getRandomBytes(20, false)), 3, 10), - "rcon.port" => 19132, "upnp-forwarding" => false, "send-usage" => true, )); @@ -348,7 +347,7 @@ class ServerAPI{ } if($this->getProperty("enable-rcon") === true){ - $this->rcon = new RCON($this->getProperty("rcon.password", ""), $this->getProperty("rcon.port", 19132)); + $this->rcon = new RCON($this->getProperty("rcon.password", ""), $this->getProperty("server-port")); } if($this->getProperty("enable-query") === true){ $this->query = new Query();