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 89c3666 commit 43fac12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pocketmine/command/CommandReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ class CommandReader extends Thread{
public function __construct(){
$this->buffer = new \Threaded;
$opts = getopt("", ["disable-readline"]);
var_dump($opts);
$this->readline = extension_loaded("readline") and !isset($opts["disable-readline"]);
var_dump($this->readline);
$this->start();
}

Expand Down

0 comments on commit 43fac12

Please sign in to comment.