(options: UpdateServerOptions)
| 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; |
no test coverage detected