chore: remove NRS config
All checks were successful
Build / build (pull_request) Successful in 1m44s

This commit is contained in:
Sainan 2025-08-31 18:36:25 +02:00
parent 6de9f0dcdb
commit 507b01175a
3 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,6 @@
"myAddress": "localhost", "myAddress": "localhost",
"httpPort": 80, "httpPort": 80,
"httpsPort": 443, "httpsPort": 443,
"NRS": ["localhost"],
"administratorNames": [], "administratorNames": [],
"autoCreateAccount": true, "autoCreateAccount": true,
"skipTutorial": false, "skipTutorial": false,

View File

@ -109,7 +109,7 @@ const createLoginResponse = (
BuildLabel: buildLabel BuildLabel: buildLabel
}; };
if (version_compare(buildLabel, "2015.02.13.10.41") >= 0) { if (version_compare(buildLabel, "2015.02.13.10.41") >= 0) {
resp.NRS = config.NRS; resp.NRS = [myAddress];
} }
if (version_compare(buildLabel, "2015.05.14.16.29") >= 0) { if (version_compare(buildLabel, "2015.05.14.16.29") >= 0) {
// U17 and up // U17 and up

View File

@ -14,7 +14,6 @@ export interface IConfig {
httpPort?: number; httpPort?: number;
httpsPort?: number; httpsPort?: number;
myIrcAddresses?: string[]; myIrcAddresses?: string[];
NRS?: string[];
administratorNames?: string[]; administratorNames?: string[];
autoCreateAccount?: boolean; autoCreateAccount?: boolean;
skipTutorial?: boolean; skipTutorial?: boolean;
@ -86,6 +85,7 @@ export interface IConfig {
} }
export const configRemovedOptionsKeys = [ export const configRemovedOptionsKeys = [
"NRS",
"skipAllDialogue", "skipAllDialogue",
"infiniteCredits", "infiniteCredits",
"infinitePlatinum", "infinitePlatinum",