chore: remove NRS config (#2732)
Reviewed-on: #2732 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
parent
d4c477769a
commit
9a5c2ab4a4
@ -7,7 +7,6 @@
|
||||
"myAddress": "localhost",
|
||||
"httpPort": 80,
|
||||
"httpsPort": 443,
|
||||
"NRS": ["localhost"],
|
||||
"administratorNames": [],
|
||||
"autoCreateAccount": true,
|
||||
"skipTutorial": false,
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user