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",
"httpPort": 80,
"httpsPort": 443,
"NRS": ["localhost"],
"administratorNames": [],
"autoCreateAccount": true,
"skipTutorial": false,

View File

@ -109,7 +109,7 @@ const createLoginResponse = (
BuildLabel: buildLabel
};
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) {
// U17 and up

View File

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