Server: remove redundant == true from setConfigBool()

This commit is contained in:
Dylan K. Taylor 2018-04-10 12:22:21 +01:00
parent 76854da7ba
commit 1e21066c1c

View File

@ -1248,7 +1248,7 @@ class Server{
* @param bool $value
*/
public function setConfigBool(string $variable, bool $value){
$this->properties->set($variable, $value == true ? "1" : "0");
$this->properties->set($variable, $value ? "1" : "0");
}
/**