Skip to content

Commit

Permalink
Merge pull request #24 from Gamecrafter/master
Browse files Browse the repository at this point in the history
Small addition
  • Loading branch information
falkirks committed Jan 30, 2016
2 parents 70b08ec + 77a4f97 commit 540c305
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 540c305

Please sign in to comment.