Update db-log-addOn.js

This commit is contained in:
Skillet 2023-05-08 16:48:38 -04:00 committed by GitHub
parent e3ef6dcd96
commit 65335e0bca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,7 +278,7 @@ export default class DBLogPlayerTime extends DBLog {
if(((this.options.incseed*seeder.seedTime) - (this.options.decseed*(topTime-seeder.seedTime))) > 100) seedid.push(seeder);
}
const lcladminpath = path.resolve(__dirname, "../../../", this.options.whitelistfilepath);
const lcladminpath = path.resolve(__dirname, "../../", this.options.whitelistfilepath);
this.verbose(1, "trying to write to directory: ", lcladminpath);
if(!fs.existsSync(lcladminpath)) {
this.verbose(1, "WARNING: auto whitelist admins file not found");