mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 07:07:33 +00:00
parent
da78c84c03
commit
a2835108d6
3 changed files with 4 additions and 2 deletions
|
|
@ -56,7 +56,8 @@ export default class QueryRunner {
|
|||
|
||||
const cachedPort = this.portCache[`${userOptions.address}:${userOptions.port}`]
|
||||
|
||||
if (cachedPort && optionsCollection.portCache) {
|
||||
// Use any cached port if port caching is enabled and user is not explicitly enforcing their given port
|
||||
if (cachedPort && optionsCollection.portCache && !userOptions.givenPortOnly) {
|
||||
addAttemptWithPort(cachedPort)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue