Skip to content

Commit

Permalink
Update CommandReader.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps authored Oct 18, 2016
1 parent 43fac12 commit eaf4a00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pocketmine/command/CommandReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function __construct(){
$this->buffer = new \Threaded;
$opts = getopt("", ["disable-readline"]);
var_dump($opts);
var_dump(!isset($opts["disable-readline"]));
$this->readline = extension_loaded("readline") and !isset($opts["disable-readline"]);
var_dump($this->readline);
$this->start();
Expand Down

0 comments on commit eaf4a00

Please sign in to comment.