MCPcopy Create free account
hub / github.com/UnsignedInt8/LightSword / updateConfiguration

Method updateConfiguration

server/server.ts:144–149  ·  view source on GitHub ↗
(options: UpdateServerOptions)

Source from the content-addressed store, hash-verified

142 }
143
144 updateConfiguration(options: UpdateServerOptions) {
145 this.disableSelfProtection = options.disableSelfProtection;
146 this.expireDate = options.expireDate;
147
148 this.startRemainingTimer();
149 }
150
151 private addToBlacklist(client: net.Socket) {
152 if (this.disableSelfProtection) return;

Callers 1

updateUserMethod · 0.80

Calls 1

startRemainingTimerMethod · 0.95

Tested by

no test coverage detected