mirror of
https://codeberg.org/spire/webrcon.git
synced 2026-06-03 17:24:07 +02:00
Update rcon.js
This commit is contained in:
parent
4b23e0ec80
commit
980e3ef6c1
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ import Status from './command/status';
|
||||||
|
|
||||||
export default class Rcon {
|
export default class Rcon {
|
||||||
constructor (host, password) {
|
constructor (host, password) {
|
||||||
this.connection = new Connection(host, password);
|
this.connection = new Connection(host, password, port = 27021);
|
||||||
}
|
}
|
||||||
|
|
||||||
disconnect () {
|
disconnect () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue