'/join' now accept passwords
This commit is contained in:
parent
03d8510486
commit
9213774ad4
@ -227,7 +227,15 @@ function input(data) {
|
||||
|
||||
case "join":
|
||||
if (client && args[1]) {
|
||||
if (!args[2] || args[2].charAt(0) == "#") {
|
||||
client.join(args.slice(1));
|
||||
} else {
|
||||
console.log(args[1], args[2]);
|
||||
client.join(
|
||||
args[1],
|
||||
args[2] // Password
|
||||
);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user