Skip to content

Commit

Permalink
Update Specter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor T committed Dec 15, 2015
1 parent 70b08ec commit 77a4f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/specter/Specter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function onCommand(CommandSender $sender, Command $command, $label, array
case 'add':
case 's':
if(isset($args[1])) {
if ($this->getInterface()->openSession($args[1], isset($args[2]) ? $args[2] : "SPECTER")){
if ($this->getInterface()->openSession($args[1], isset($args[2]) ? $args[2] : "SPECTER", isset($args[3]) ? $args[3] : 19133)){
$sender->sendMessage("Session started.");
}
else{
Expand Down

0 comments on commit 77a4f97

Please sign in to comment.