GameStats: Fix length error in last commit

This commit is contained in:
mkwcat 2024-09-16 21:36:45 -04:00
parent cc36857182
commit 3a55fdd733
No known key found for this signature in database
GPG Key ID: 7A505679CE9E7AA9

View File

@ -17,7 +17,7 @@ func (g *GameStatsSession) getpd(command common.GameSpyCommand) {
"lid": strconv.Itoa(g.LoginID),
"pid": command.OtherValues["pid"],
"mod": strconv.Itoa(int(time.Now().Unix())),
"length": strconv.Itoa(len(data)),
"length": strconv.Itoa(len(data) + 1),
"data": `\` + data + `\`,
},
})