1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-03 16:38:31 +00:00

Don't send IPs and usernames until I know how to delete them

This commit is contained in:
Kane York 2015-12-16 14:19:23 -08:00
parent c0500457a6
commit b236c34c94
2 changed files with 10 additions and 5 deletions

View file

@ -113,7 +113,10 @@ type ConnectionReport struct {
DisconnectCode int
DisconnectReason string
RemoteAddr net.Addr
UsernameWasValidated bool
RemoteAddr net.Addr `json:"-"` // not transmitted until I can figure out data minimization
TwitchUsername string `json:"-"` // also not transmitted
}
// FillReport sets all the calculated fields, and calls esReportBasic.FillReport().