mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-18 09:35:50 +00:00
feat: add query port to the results (#476)
This commit is contained in:
parent
2ffff5e7d6
commit
ec708d7219
4 changed files with 5 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ export default class Core extends EventEmitter {
|
|||
const state = new Results()
|
||||
|
||||
await this.run(state)
|
||||
state.queryPort = options.port
|
||||
|
||||
// because lots of servers prefix with spaces to try to appear first
|
||||
state.name = (state.name || '').trim()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue