Add support for udp bind port override (3.0.5) Fixes #149

This commit is contained in:
Michael Morrison 2021-05-18 23:13:18 -05:00
parent 68b8dfd684
commit ce4e728493
8 changed files with 59 additions and 26 deletions

View file

@ -3,8 +3,8 @@ const QueryRunner = require('./QueryRunner');
let singleton = null;
class Gamedig {
constructor() {
this.queryRunner = new QueryRunner();
constructor(runnerOpts) {
this.queryRunner = new QueryRunner(runnerOpts);
}
async query(userOptions) {