Protect RCON diagnostics and redact player addresses (Refs #61)
This commit is contained in:
@@ -34,7 +34,7 @@ function status(timestamp: number, changes: Partial<ServerStatus> = {}): ServerS
|
||||
return {
|
||||
server: 't5_zombie_theater_1', players: 0, map: 'zombie_theater', gametype: 'zom',
|
||||
roster: [], health: 'online', lastSeenAt: new Date(timestamp).toISOString(),
|
||||
lastError: null, endpoint: null, reason: null, replySnippet: null,
|
||||
lastError: null, endpoint: null, reason: null,
|
||||
activeSince: null, inactiveSince: new Date(epoch).toISOString(),
|
||||
gameStartedAt: null, gameEndedAt: null, ...changes
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user